-
Notifications
You must be signed in to change notification settings - Fork 23
67 lines (58 loc) · 1.61 KB
/
e2e_tests.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: E2E Tests
on:
workflow_call:
jobs:
Tests:
name: ${{matrix.config.name}}
runs-on: ${{matrix.config.os}}
strategy:
fail-fast: false
matrix:
config:
- { name: "Ubuntu 22.04", os: ubuntu-22.04, shell: "bash {0}" }
- { name: "MacOS Apple Clang", os: macos-latest, shell: "bash {0}" }
- {
name: "Windows GCC",
os: windows-latest,
msys_sys: "mingw64",
msys_env: "x86_64-gcc",
shell: "msys2 {0}",
}
defaults:
run:
shell: ${{ matrix.config.shell }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Installing required packages
if: runner.os == 'Linux'
run: |
sudo apt-get update
clang++ --version
g++ --version
- name: Install windows make
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.config.msys_sys}}
install: mingw-w64-${{matrix.config.msys_env}} make git expect
- name: Macos clang version
if: runner.os == 'Macos'
run: |
clang++ --version
- name: Sanitize Thread E2E Test
if: runner.os == 'Linux'
run: |
make clean
bash app/tests/e2e/e2e.sh san=thread
- name: Asan E2E
if: runner.os == 'Linux'
continue-on-error: true
run: |
make clean
bash app/tests/e2e/e2e.sh san=asan
- name: Normal E2E
run: |
make clean
bash app/tests/e2e/e2e.sh