12
12
GAME_OSX_APP_NAME : Foxtrot
13
13
14
14
CARGO_TERM_COLOR : always
15
- NIGHTLY_TOOLCHAIN : nightly
16
15
# Sparse cargo registry for faster updates
17
16
CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
18
17
@@ -38,15 +37,13 @@ jobs:
38
37
- name : Install rust toolchain for Apple Silicon
39
38
uses : dtolnay/rust-toolchain@master
40
39
with :
41
- toolchain : ${{ env.NIGHTLY_TOOLCHAIN }}
42
40
target : aarch64-apple-darwin
43
41
- name : Build release for Apple Silicon
44
42
run : |
45
43
SDKROOT=$(xcrun -sdk macosx --show-sdk-path) cargo build --release --target=aarch64-apple-darwin
46
44
- name : Install rust toolchain for Apple x86
47
45
uses : dtolnay/rust-toolchain@master
48
46
with :
49
- toolchain : ${{ env.NIGHTLY_TOOLCHAIN }}
50
47
target : x86_64-apple-darwin
51
48
- name : Build release for x86 Apple
52
49
run : |
84
81
uses : actions/checkout@v3
85
82
- name : Install rust toolchain
86
83
uses : dtolnay/rust-toolchain@master
87
- with :
88
- toolchain : ${{ env.NIGHTLY_TOOLCHAIN }}
89
84
- name : Install Dependencies
90
85
run : sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev
91
86
- name : Build release
@@ -119,8 +114,6 @@ jobs:
119
114
uses : actions/checkout@v3
120
115
- name : Install rust toolchain
121
116
uses : dtolnay/rust-toolchain@master
122
- with :
123
- toolchain : ${{ env.NIGHTLY_TOOLCHAIN }}
124
117
- name : Install dotnet
125
118
uses : actions/setup-dotnet@v3
126
119
with :
0 commit comments