-
Notifications
You must be signed in to change notification settings - Fork 25
52 lines (49 loc) · 1.46 KB
/
testsuite.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: testsuite
on: [push, pull_request]
jobs:
testsuite-osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: make tests
- run: make cpp_tests
testsuite-clang:
runs-on: ubuntu-latest
strategy:
matrix:
version: [12, 13, 14, 15]
steps:
- uses: actions/checkout@v4
- run: |
sudo apt install clang-${{ matrix.version }}
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100
- run: make tests
- run: make cpp_tests
testsuite-clang12-perf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt install clang-12
- run: make malloc_cmp_test
testsuite-clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt install clang clang-format-12
- run: make format-ci
testsuite-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make tests CC=gcc CXX=g++
- run: make cpp_tests CC=gcc CXX=g++
testsuite-musl:
runs-on: ubuntu-latest
container:
image: alpine:latest
steps:
- uses: actions/checkout@v4
- run: apk update && apk add build-base bash musl-dev linux-headers
- run: make tests CC=gcc CXX=g++
- run: make cpp_tests CC=gcc CXX=g++