diff options
| author | Joshua Sing <joshua@hypera.dev> | 2023-04-29 01:15:13 +1000 |
|---|---|---|
| committer | Joshua Sing <joshua@hypera.dev> | 2023-04-29 01:15:13 +1000 |
| commit | 4fdce0c68441bcbff65ed5303fe5472c2915520a (patch) | |
| tree | 6c8be34b12f812dda6ea63916a6a3d3b7431ae91 /.github/workflows | |
| parent | 4c2ab9981ec049bd9aa618321c747f1d48fe9a74 (diff) | |
| download | portable-4fdce0c68441bcbff65ed5303fe5472c2915520a.tar.gz portable-4fdce0c68441bcbff65ed5303fe5472c2915520a.tar.bz2 portable-4fdce0c68441bcbff65ed5303fe5472c2915520a.zip | |
Add CI workflow to run tests with ASM disabled
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/linux_test_asan_noasm.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/linux_test_asan_noasm.yml b/.github/workflows/linux_test_asan_noasm.yml new file mode 100644 index 0000000..92ab2fc --- /dev/null +++ b/.github/workflows/linux_test_asan_noasm.yml | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | name: linux_ci_asan_noasm | ||
| 2 | |||
| 3 | on: [push, pull_request] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | build-native: | ||
| 7 | name: "${{ matrix.compiler }} - ${{ matrix.os }}" | ||
| 8 | runs-on: "${{ matrix.os }}" | ||
| 9 | strategy: | ||
| 10 | matrix: | ||
| 11 | os: ["ubuntu-latest"] | ||
| 12 | compiler: ["clang"] | ||
| 13 | env: | ||
| 14 | CC: "${{ matrix.compiler }}" | ||
| 15 | ARCH: native | ||
| 16 | CFLAGS: "-ggdb -fsanitize=address" | ||
| 17 | LDFLAGS: "-fsanitize=address" | ||
| 18 | CTEST_OUTPUT_ON_FAILURE: 1 | ||
| 19 | ENABLE_ASM: OFF | ||
| 20 | steps: | ||
| 21 | - name: "Checkout repository" | ||
| 22 | uses: actions/checkout@main | ||
| 23 | - name: "Run tests" | ||
| 24 | run: ./scripts/test | ||
