Skip to content

Commit

Permalink
ci: Disable script test for now
Browse files Browse the repository at this point in the history
Looks like github is introducing AMD based runner, which breaks this test.
  • Loading branch information
FlyGoat authored Dec 6, 2023
1 parent 0460a4d commit 889ae05
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,21 @@ jobs:
cmake DCMAKE_BUILD_TYPE=Release ..
make
- name: Test Scripts
shell: bash
run: |
cd examples
export LD_LIBRARY_PATH="${{ github.workspace }}/build/"
expectedOutput="Not AMD processor, must be kidding"
pythonOutput=$(python pmtable-example.py 2>&1) || true
if [[ ! "$pythonOutput" =~ "$expectedOutput" ]]; then
echo "pmtable-example.py output: $pythonOutput"
exit 1
fi
pythonOutput=$(python readjust.py 2>&1) || true
if [[ ! "$pythonOutput" =~ "$expectedOutput" ]]; then
echo "readjust.py output: $pythonOutput"
exit 1
fi
exit 0
# - name: Test Scripts
# shell: bash
# run: |
# cd examples
# export LD_LIBRARY_PATH="${{ github.workspace }}/build/"
# expectedOutput="Not AMD processor, must be kidding"
# pythonOutput=$(python pmtable-example.py 2>&1) || true
# if [[ ! "$pythonOutput" =~ "$expectedOutput" ]]; then
# echo "pmtable-example.py output: $pythonOutput"
# exit 1
# fi
# pythonOutput=$(python readjust.py 2>&1) || true
# if [[ ! "$pythonOutput" =~ "$expectedOutput" ]]; then
# echo "readjust.py output: $pythonOutput"
# exit 1
# fi
# exit 0

0 comments on commit 889ae05

Please sign in to comment.