mirror of
https://github.com/livepeer/lpms
synced 2025-11-03 02:23:35 +08:00
build.yaml: Revert debugging changes
This commit is contained in:
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@@ -100,9 +100,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: PATH="/github/home/compiled/bin:$PATH" bash ./test.sh
|
||||||
which ffmpeg || true
|
|
||||||
echo "$PATH"
|
|
||||||
ls -lh /github/home/compiled/bin/
|
|
||||||
/github/home/compiled/bin/ffmpeg -version || true
|
|
||||||
PATH="/github/home/compiled/bin:$PATH" bash ./test.sh
|
|
||||||
|
|||||||
8
test.sh
8
test.sh
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
#Test script to run all the tests for continuous integration
|
#Test script to run all the tests for continuous integration
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
@@ -5,9 +7,9 @@ set -eux
|
|||||||
EXTRA_BUILD_TAGS=""
|
EXTRA_BUILD_TAGS=""
|
||||||
DEVICE_FLAGS="sw"
|
DEVICE_FLAGS="sw"
|
||||||
|
|
||||||
if which clang > /dev/null; then
|
if which clang >/dev/null; then
|
||||||
EXTRA_BUILD_TAGS="--tags=nvidia"
|
EXTRA_BUILD_TAGS="--tags=nvidia"
|
||||||
DEVICE_FLAGS="nv 0"
|
DEVICE_FLAGS="nv 0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
go test $EXTRA_BUILD_TAGS -timeout 30m ./...
|
go test $EXTRA_BUILD_TAGS -timeout 30m ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user