-
Notifications
You must be signed in to change notification settings - Fork 4
61 lines (48 loc) · 1.34 KB
/
compiler_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
name: Compiler Tests
on:
push:
paths: ['lib/**.ri', 'rivetc/**.py', 'tests/**']
pull_request:
paths: ['lib/**.ri', 'rivetc/**.py', 'tests/**']
types: [opened, synchronize]
jobs:
ubuntu-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run passing tests
run: |
python3 rivetc -C clang -t tests/valid
- name: Run failing tests
run: |
python3 tests/run_invalid_tests.py
- name: Run bootstrap failing tests
run: |
python3 tests/run_b_invalid_tests.py
ubuntu-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run passing tests
run: |
python3 rivetc -C gcc -t tests/valid
- name: Run failing tests
run: |
python3 tests/run_invalid_tests.py
- name: Run bootstrap failing tests
run: |
python3 tests/run_b_invalid_tests.py
# windows-gcc:
# runs-on: windows-2019
# steps:
# - uses: actions/checkout@v4
# - name: Setup Python3
# uses: actions/setup-python@v4
# with:
# python-version: '3.x'
# - name: Run passing tests
# run: |
# python3 rivetc -t tests/valid
# - name: Run failing tests
# run: |
# python3 tests/run_invalid_tests.py