|
21 | 21 | run: | |
22 | 22 | python -m pip install --upgrade pip |
23 | 23 | python -m pip install -e INCHI-1-TEST[invariance-tests] |
24 | | - - name: Compile InChI library from triggering branch |
25 | | - run: | |
26 | | - git config --global --add safe.directory "$GITHUB_WORKSPACE" # https://github.com/actions/runner-images/issues/6775 |
27 | | - mkdir "$GITHUB_WORKSPACE/INCHI-1-TEST/libs" |
28 | | - ./INCHI-1-TEST/compile_inchi_lib.sh ${{ github.ref_name }} "$GITHUB_WORKSPACE/INCHI-1-TEST/libs" |
29 | | - if [ "${{ github.ref_name }}" != "main" ]; then |
30 | | - # Rename library to libinchi.so.main, since that's the name the tests expect. |
31 | | - mv "$GITHUB_WORKSPACE/INCHI-1-TEST/libs/libinchi.so.${{ github.ref_name }}" "$GITHUB_WORKSPACE/INCHI-1-TEST/libs/libinchi.so.main" |
32 | | - fi |
| 24 | + - uses: ./.github/actions/compile_inchi_lib |
33 | 25 | - uses: ./.github/actions/regression_tests |
34 | 26 | with: |
35 | 27 | artifact-name: regression-test-results_glibc_gcc |
|
67 | 59 | run: | |
68 | 60 | python -m pip install --upgrade pip |
69 | 61 | python -m pip install -e INCHI-1-TEST |
70 | | - - name: Compile InChI library from triggering branch |
71 | | - run: | |
72 | | - git config --global --add safe.directory "$GITHUB_WORKSPACE" # https://github.com/actions/runner-images/issues/6775 |
73 | | - mkdir "$GITHUB_WORKSPACE/INCHI-1-TEST/libs" |
74 | | - ./INCHI-1-TEST/compile_inchi_lib.sh ${{ github.ref_name }} "$GITHUB_WORKSPACE/INCHI-1-TEST/libs" |
75 | | - if [ "${{ github.ref_name }}" != "main" ]; then |
76 | | - # Rename library to libinchi.so.main, since that's the name the tests expect. |
77 | | - mv "$GITHUB_WORKSPACE/INCHI-1-TEST/libs/libinchi.so.${{ github.ref_name }}" "$GITHUB_WORKSPACE/INCHI-1-TEST/libs/libinchi.so.main" |
78 | | - fi |
| 62 | + - uses: ./.github/actions/compile_inchi_lib |
79 | 63 | - uses: ./.github/actions/regression_tests |
80 | 64 | with: |
81 | 65 | artifact-name: regression-test-results_musl_gcc |
|
0 commit comments