Skip to content

Commit

Permalink
build.yaml: Revert debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 committed Jan 18, 2024
1 parent 058346e commit c03d27c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 5 additions & 3 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/bash

#Test script to run all the tests for continuous integration

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 ./...
Expand Down

0 comments on commit c03d27c

Please sign in to comment.