build.yaml: Revert debugging changes

This commit is contained in:
hjpotter92
2024-01-18 19:14:03 +05:30
parent 058346e313
commit c03d27c0d0
2 changed files with 6 additions and 9 deletions

View File

@@ -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

View File

@@ -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 ./...