Skip to content

Commit

Permalink
Use make instead of ninja in Neon github action.
Browse files Browse the repository at this point in the history
Separate generic, neon specific and f16 tests.
  • Loading branch information
christophe0606 committed Jan 22, 2025
1 parent 398f221 commit c40eb28
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/runneontest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,33 +63,40 @@ jobs:
python processTests.py -gen . -p Patterns -d Parameters -f Output_neon.pickle -e
python processTests.py -gen . -p Patterns -d Parameters -f Output_f16.pickle -e
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
cd build
cmake -G "Unix Makefiles" ..
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: Execute
- name: Execute generic tests
run: |
cd Testing/build
echo "Running tests"
cmake -G "Ninja" ..
python ../processTests.py -p ../Patterns -d ../Parameters -gen .. -e -f ../Output.pickle
ninja
make VERBOSE=1
./test > result.txt
python ../processResult.py -e -f ../Output.pickle -r result.txt -html > result.html
- name: Execute neon specific C tests
run: |
cd Testing/build
python ../processTests.py -p ../Patterns -d ../Parameters -gen .. -e -f ../Output_neon.pickle
ninja
make
./test > result_neon.txt
python ../processResult.py -e -f ../Output_neon.pickle -r result_neon.txt -html > result_neon.html
- name: Execute f16 C tests
run: |
cd Testing/build
python ../processTests.py -p ../Patterns -d ../Parameters -gen .. -e -f ../Output_f16.pickle
ninja
make
./test > result_f16.txt
python ../processResult.py -e -f ../Output_f16.pickle -r result_f16.txt -html > result_f16.html
- name: Upload test report
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit c40eb28

Please sign in to comment.