File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- uses : actions/checkout@v3
11
11
12
+ - name : Setup Homebrew
13
+ uses : Homebrew/actions/setup-homebrew@master
14
+
15
+ - name : Install Taskfile
16
+ run : brew install go-task
17
+
12
18
- name : Setup Rust Toolchain
13
19
uses : ATiltedTree/setup-rust@v1
14
20
with :
15
- rust-version : stable
21
+ rust-version : nightly
22
+ targets : ' aarch64-apple-darwin x86_64-apple-darwin'
16
23
17
24
- name : Build
18
- run : cargo build --release
25
+ run : task build-universal
19
26
20
27
- name : Upload Artifact
21
28
uses : actions/upload-artifact@v3
22
29
with :
23
30
name : swift-precompiler
24
- path : target/release/ swift-precompiler
31
+ path : target/swift-precompiler
25
32
26
33
- uses : sarisia/actions-status-discord@v1
27
34
if : always()
Original file line number Diff line number Diff line change 14
14
generates :
15
15
- " target/aarch64-apple-darwin/release/{{.BINARY_NAME}}"
16
16
- " target/x86_64-apple-darwin/release/{{.BINARY_NAME}}"
17
+ - " target/{{.BINARY_NAME}}"
17
18
cmds :
18
19
- |
19
20
cargo build --release --target x86_64-apple-darwin
You can’t perform that action at this time.
0 commit comments