feat: add RG-M QA results #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# check consistency between Groovy and C++ APIs | |
groovy_vs_cpp: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
dataset: | |
- pass1/rga_fa18_inbending | |
- pass1/rga_fa18_outbending | |
- pass1/rga_sp19 | |
- pass1/rgb_fa19 | |
- pass1/rgb_sp19 | |
- pass1/rgb_wi20 | |
- pass1/rgk_fa18_6.5GeV | |
- pass1/rgk_fa18_7.5GeV | |
- pass1/rgm_fa21 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: setup_groovy | |
uses: wtfjoke/setup-groovy@v1 | |
with: | |
groovy-version: 4.x | |
- name: env | |
run: | | |
source environ.sh | |
echo "QADB=${QADB}" >> $GITHUB_ENV | |
echo "JYPATH=${JYPATH}" >> $GITHUB_ENV | |
- name: compile_cpp_tests | |
run: | | |
cd srcC/tests | |
make | |
- name: test_diff_groovy_cpp | |
run: | | |
tests/test_diffGroovyCpp.loop.sh ${{matrix.dataset}} | |
- name: concatenate_artifacts | |
run: | | |
mkdir -p artifacts/${{matrix.dataset}} | |
for lang in cpp groovy ; do | |
cat tmp/${lang}*.out > artifacts/${{matrix.dataset}}/${lang}.txt ; | |
done | |
- name: upload_artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: groovy_vs_cpp | |
retention-days: 3 | |
path: artifacts/* | |
# report status for github status check (successful only if all `groovy_vs_cpp` jobs pass) | |
report: | |
runs-on: ubuntu-latest | |
needs: | |
- groovy_vs_cpp | |
steps: | |
- run: echo success |