Skip to content

Commit

Permalink
Use do_build.sh to execute the "test" target to make sure everything
Browse files Browse the repository at this point in the history
is setup correctly (i.e. CC variable).
  • Loading branch information
sobomax committed Feb 27, 2023
1 parent 6ffef19 commit 22ebcb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ jobs:
sh -x scripts/build/do_build.sh DEFS_EXTRA_OPTS="-DUNIT_TESTS -fPIE -fPIC"
- name: Run tests
run: script -e unit_tests.log -c 'make DEFS_EXTRA_OPTS="-DUNIT_TESTS" test'
env:
MAKE_TGT: 'test'
run: script -e unit_tests.log -c 'sh -x scripts/build/do_build.sh DEFS_EXTRA_OPTS="-DUNIT_TESTS -fPIE -fPIC"'

- name: Notify slack fail
if: failure() && github.repository == 'OpenSIPS/opensips'
Expand Down

0 comments on commit 22ebcb9

Please sign in to comment.