Skip to content

Commit

Permalink
work on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chqrlie committed Mar 3, 2024
1 parent 20670e4 commit 7b0afc0
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,24 @@ on:
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: build
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y
- name: stats
run: |
make CONFIG_WERROR=y qjs
./qjs -qd
- name: test
run: |
make CONFIG_WERROR=y test
make test
- name: microbench
run: |
make CONFIG_WERROR=y microbench
make microbench
linux-asan:
runs-on: ubuntu-latest
Expand All @@ -41,12 +44,12 @@ jobs:
submodules: true
- name: build
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=ON
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=y
- name: test
env:
ASAN_OPTIONS: halt_on_error=1
run: |
make CONFIG_ASAN=ON test
make CONFIG_ASAN=y test
linux-msan:
runs-on: ubuntu-latest
Expand All @@ -58,12 +61,12 @@ jobs:
env:
CC: clang
run: |
make CONFIG_MSAN=ON CONFIG_CLANG=y
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_MSAN=y CONFIG_CLANG=y
- name: test
env:
MSAN_OPTIONS: halt_on_error=1
run: |
make CONFIG_MSAN=ON CONFIG_CLANG=y test
make CONFIG_MSAN=y CONFIG_CLANG=y test
linux-ubsan:
runs-on: ubuntu-latest
Expand All @@ -73,12 +76,12 @@ jobs:
submodules: true
- name: build
run: |
make CONFIG_UBSAN=ON
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_UBSAN=y
- name: test
env:
UBSAN_OPTIONS: halt_on_error=1
run: |
make CONFIG_UBSAN=ON test
make CONFIG_UBSAN=y test
macos:
runs-on: macos-latest
Expand All @@ -88,37 +91,36 @@ jobs:
- uses: actions/checkout@v3
- name: build
run: |
make -j$(getconf _NPROCESSORS_ONLN)
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y
- name: stats
run: |
make CONFIG_WERROR=y qjs
./qjs -qd
- name: test
run: |
make CONFIG_WERROR=y test
make test
macos-asan:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_ASAN=ON
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=y
- name: test
env:
ASAN_OPTIONS: halt_on_error=1
run: |
make CONFIG_ASAN=ON test
make CONFIG_ASAN=y test
macos-ubsan:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_UBSAN=ON
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_UBSAN=y
- name: test
env:
UBSAN_OPTIONS: halt_on_error=1
run: |
make CONFIG_UBSAN=ON test
make CONFIG_UBSAN=y test

0 comments on commit 7b0afc0

Please sign in to comment.