mirror of
https://github.com/livepeer/lpms
synced 2025-09-26 19:51:36 +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
|
||||
shell: bash
|
||||
run: |
|
||||
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
|
||||
run: 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
|
||||
|
||||
set -eux
|
||||
@@ -5,9 +7,9 @@ set -eux
|
||||
EXTRA_BUILD_TAGS=""
|
||||
DEVICE_FLAGS="sw"
|
||||
|
||||
if which clang > /dev/null; then
|
||||
EXTRA_BUILD_TAGS="--tags=nvidia"
|
||||
DEVICE_FLAGS="nv 0"
|
||||
if which clang >/dev/null; then
|
||||
EXTRA_BUILD_TAGS="--tags=nvidia"
|
||||
DEVICE_FLAGS="nv 0"
|
||||
fi
|
||||
|
||||
go test $EXTRA_BUILD_TAGS -timeout 30m ./...
|
||||
|
Reference in New Issue
Block a user