File tree Expand file tree Collapse file tree 3 files changed +52
-52
lines changed Expand file tree Collapse file tree 3 files changed +52
-52
lines changed Original file line number Diff line number Diff line change 19
19
20
20
- name : Run lit
21
21
shell : bash
22
- run : ./scripts/build.sh --test
22
+ run : ./scripts/build.sh --lit
Original file line number Diff line number Diff line change 1
- name : Build
1
+ name : Build Linux
2
2
3
3
on :
4
4
# Triggers the workflow on push or pull request events but only for the master branch
63
63
name : stdlib
64
64
path : output
65
65
66
- test-windows :
67
- name : Test Windows
68
- runs-on : windows-2022
69
- env :
70
- toolchain-version : 1.77.0
71
- llvm-version : 14.0.6
72
- steps :
73
-
74
- - uses : actions/checkout@v3
75
-
76
- - name : Install Rust
77
- uses : dtolnay/rust-toolchain@master
78
- with :
79
- toolchain : ${{ env.toolchain-version }}
80
-
81
- - name : Install LLVM
82
- uses : ghaith/install-llvm-action@latest
83
- with :
84
- version : ${{ env.llvm-version }}
85
- directory : " ./llvm"
86
-
87
- - name : Cargo test (Unit)
88
- uses : actions-rs/cargo@v1
89
- with :
90
- command : test
91
- args : --lib -- --nocapture
92
-
93
- - name : Cargo test (Correctness)
94
- uses : actions-rs/cargo@v1
95
- with :
96
- command : test
97
- args : correctness -- --nocapture --test-threads=1
98
-
99
- - name : Cargo test (Integration)
100
- uses : actions-rs/cargo@v1
101
- with :
102
- command : test
103
- args : integration -- --nocapture --test-threads=1
104
-
105
- - name : Release Build
106
- uses : actions-rs/cargo@v1
107
- with :
108
- command : build
109
- args : --release
110
-
111
- - uses : actions/upload-artifact@master
112
- with :
113
- name : plc.exe
114
- path : target/release/plc.exe
115
-
116
66
style :
117
67
name : Check Style
118
68
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ name : Build Windows
2
+
3
+ on :
4
+ # Triggers the workflow on push or pull request events but only for the master branch
5
+ push :
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ # Allows you to run this workflow manually from the Actions tab
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ name : Windows Build
15
+ runs-on : windows-2022
16
+ env :
17
+ toolchain-version : 1.77.0
18
+ llvm-version : 14.0.6
19
+ steps :
20
+
21
+ - uses : actions/checkout@v3
22
+
23
+ - name : Install Rust
24
+ uses : dtolnay/rust-toolchain@master
25
+ with :
26
+ toolchain : ${{ env.toolchain-version }}
27
+
28
+ - name : Install LLVM
29
+ uses : ghaith/install-llvm-action@latest
30
+ with :
31
+ version : ${{ env.llvm-version }}
32
+ directory : " ./llvm"
33
+
34
+ - name : Cargo test (Unit)
35
+ run : cargo test --lib -- --nocapture
36
+
37
+ - name : Cargo test (Correctness)
38
+ run : cargo test correctness -- --nocapture --test-threads=1
39
+
40
+ - name : Cargo test (Integration)
41
+ run : cargo test integration -- --nocapture --test-threads=1
42
+
43
+ - name : Release Build
44
+ run : cargo build --release --workspace
45
+
46
+ - uses : actions/upload-artifact@master
47
+ with :
48
+ name : plc.exe
49
+ path : target/release/plc.exe
50
+
You can’t perform that action at this time.
0 commit comments