Commit e1e6cff 1 parent a8d8388 commit e1e6cff Copy full SHA for e1e6cff
File tree 1 file changed +50
-0
lines changed
1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
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
+ env :
13
+ IMAGE_NAME : rust-llvm
14
+
15
+ jobs :
16
+ test-windows :
17
+ name : Test Windows
18
+ runs-on : windows-2022
19
+ env :
20
+ toolchain-version : 1.67.0
21
+ llvm-version : 14.0.6
22
+ steps :
23
+
24
+ - uses : actions/checkout@v3
25
+
26
+ - name : Install Rust
27
+ uses : dtolnay/rust-toolchain@master
28
+ with :
29
+ toolchain : ${{ env.toolchain-version }}
30
+
31
+ - name : Install LLVM
32
+ uses : PLC-lang/install-llvm-action@latest
33
+ with :
34
+ version : ${{ env.llvm-version }}
35
+ directory : " ./llvm"
36
+
37
+ - name : Release Build
38
+ uses : actions-rs/cargo@v1
39
+ with :
40
+ command : build
41
+ args : --release
42
+
43
+ - name : Rename file
44
+ run : mv target/release/bf.exe ./bf.exe
45
+
46
+
47
+ - uses : actions/upload-artifact@master
48
+ with :
49
+ name : bf.exe
50
+ path : bf.exe
You can’t perform that action at this time.
0 commit comments