-
Notifications
You must be signed in to change notification settings - Fork 57
71 lines (71 loc) · 1.94 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
name: tests
on:
push:
paths-ignore: '**.md'
jobs:
c-cl-error:
runs-on: ubuntu-24.04
steps:
- run: sudo apt install libglib2.0-dev
- uses: actions/checkout@main
- run: make -j4 test-c test-cl test-error
cpp-java:
runs-on: ubuntu-24.04
steps:
- 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-24.04
steps:
- uses: actions/setup-dotnet@main
- uses: actions/checkout@main
- run: make -j4 test-cs
d:
runs-on: ubuntu-24.04
steps:
- uses: dlang-community/setup-dlang@v1
with:
compiler: dmd-latest
- uses: actions/checkout@main
- run: make -j4 test-d
js-ts:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@main
- run: make -j4 test-js test-ts
py-swift:
runs-on: ubuntu-24.04
steps:
- run: sudo apt install mypy
- uses: swift-actions/setup-swift@main
- uses: actions/checkout@main
- run: make -j4 test-py test-swift
host-diff:
runs-on: ubuntu-24.04
steps:
- 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-24.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