diff options
| author | jvoisin | 2023-06-25 18:36:32 +0200 |
|---|---|---|
| committer | jvoisin | 2023-06-25 18:45:59 +0200 |
| commit | 87cdb231528847386c8d5408e252f7afec52c6a6 (patch) | |
| tree | 65efc02411b84d45c986e3407697868f3d250304 /.github/workflows | |
| parent | 8848bca36ef19c15b071939e69bec77603d64ca1 (diff) | |
Run clang and gcc in the CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/testsuite.yaml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index 115b145..031b716 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml | |||
| @@ -6,7 +6,7 @@ on: | |||
| 6 | - cron: '0 16 * * 5' | 6 | - cron: '0 16 * * 5' |
| 7 | 7 | ||
| 8 | jobs: | 8 | jobs: |
| 9 | ci: | 9 | gcc: |
| 10 | runs-on: ubuntu-latest | 10 | runs-on: ubuntu-latest |
| 11 | steps: | 11 | steps: |
| 12 | - name: Checking out the code | 12 | - name: Checking out the code |
| @@ -16,4 +16,16 @@ jobs: | |||
| 16 | - name: Extracting musl-based toolchain | 16 | - name: Extracting musl-based toolchain |
| 17 | run: tar xzf ./x86_64-linux-musl-native.tgz | 17 | run: tar xzf ./x86_64-linux-musl-native.tgz |
| 18 | - name: Running the testsuite | 18 | - name: Running the testsuite |
| 19 | run: make -C tests | grep -zqv FAIL | 19 | run: make -C tests gcc | grep -zqv FAIL |
| 20 | |||
| 21 | clang: | ||
| 22 | runs-on: ubuntu-latest | ||
| 23 | steps: | ||
| 24 | - name: Checking out the code | ||
| 25 | uses: actions/checkout@v3 | ||
| 26 | - name: Downloading musl-based toolchain | ||
| 27 | run: wget https://musl.cc/x86_64-linux-musl-native.tgz | ||
| 28 | - name: Extracting musl-based toolchain | ||
| 29 | run: tar xzf ./x86_64-linux-musl-native.tgz | ||
| 30 | - name: Running the testsuite | ||
| 31 | run: make -C tests clang | grep -zqv FAIL | ||
