summaryrefslogtreecommitdiff
path: root/.github/workflows/testsuite.yaml
blob: 031b716ef462907b51c278dc4ce61b4a308ba73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Test suite
on:
  pull_request:
  push:
  schedule:
    - cron: '0 16 * * 5'

jobs:
  gcc:
    runs-on: ubuntu-latest
    steps:
      - name: Checking out the code
        uses: actions/checkout@v3
      - name: Downloading musl-based toolchain
        run: wget https://musl.cc/x86_64-linux-musl-native.tgz
      - name: Extracting musl-based toolchain
        run: tar xzf ./x86_64-linux-musl-native.tgz
      - name: Running the testsuite
        run: make -C tests gcc | grep -zqv FAIL

  clang:
    runs-on: ubuntu-latest
    steps:
      - name: Checking out the code
        uses: actions/checkout@v3
      - name: Downloading musl-based toolchain
        run: wget https://musl.cc/x86_64-linux-musl-native.tgz
      - name: Extracting musl-based toolchain
        run: tar xzf ./x86_64-linux-musl-native.tgz
      - name: Running the testsuite
        run: make -C tests clang | grep -zqv FAIL