-
Notifications
You must be signed in to change notification settings - Fork 57
91 lines (91 loc) · 2.4 KB
/
test.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: tests
on:
push:
paths-ignore: '**.md'
jobs:
c-cl-error:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- uses: actions/checkout@main
- run: make -j4 test-c test-cl test-error
cpp-java:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- uses: actions/setup-java@main
with:
distribution: temurin
java-version: 21
- uses: actions/checkout@main
- run: make -j4 test-cpp test-java
cs:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- uses: actions/setup-dotnet@main
- uses: actions/checkout@main
- run: make -j4 test-cs
d:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- uses: dlang-community/setup-dlang@v1
with:
compiler: dmd-latest
- uses: actions/checkout@main
- run: make -j4 test-d
js-ts:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- uses: actions/checkout@main
- run: make -j4 test-js test-ts
py-swift:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- run: pip install mypy
- uses: pfusik/setup-swift@gpg-www
- uses: actions/checkout@main
- run: make -j4 test-py test-swift
host-diff:
runs-on: ubuntu-22.04
steps:
- uses: Totto16/setup-gcc@master
with:
version: 13
- uses: actions/setup-java@main
with:
distribution: temurin
java-version: 21
- uses: actions/setup-node@main
- uses: actions/checkout@main
- run: make -j4 host-diff
- run: make -j4 java/GenBase.java
- run: make -j4 host-diff-java
- run: make -j4 test-error FUT_HOST=cs
- run: rm test/bin/*/error.txt
- run: make -j4 test-error FUT_HOST=java
- run: rm test/bin/*/error.txt
- run: make -j4 test-error FUT_HOST=node
vscode:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@main
- uses: actions/checkout@main
- run: make FUT_HOST=node
- run: make -C editors/vscode src/fucheck.js FUT_HOST=node
- run: cd editors/vscode && npm i && npx @vscode/vsce package