File tree 2 files changed +51
-39
lines changed
2 files changed +51
-39
lines changed 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
- run : cargo test --lib -- --nocapture
89
-
90
- - name : Cargo test (Correctness)
91
- run : cargo test correctness -- --nocapture --test-threads=1
92
-
93
- - name : Cargo test (Integration)
94
- run : cargo test integration -- --nocapture --test-threads=1
95
-
96
- - name : Release Build
97
- run : cargo build --release --workspace
98
-
99
- - uses : actions/upload-artifact@master
100
- with :
101
- name : plc.exe
102
- path : target/release/plc.exe
103
-
104
66
style :
105
67
name : Check Style
106
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