File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 3737 shell : bash
3838 run : |
3939 rustup target add x86_64-unknown-linux-musl \
40+ aarch64-unknown-linux-musl \
4041 aarch64-apple-darwin \
4142 x86_64-apple-darwin \
4243 x86_64-pc-windows-gnu
@@ -46,11 +47,14 @@ jobs:
4647 run : cargo zigbuild --target universal2-apple-darwin --release
4748 - name : Linux - build x86_64 musl
4849 run : cargo zigbuild --target x86_64-unknown-linux-musl --release
50+ - name : Linux - build aarch64 musl
51+ run : cargo zigbuild --target aarch64-unknown-linux-musl --release
4952 - name : Windows - build x86_64 musl
5053 run : cargo zigbuild --target x86_64-pc-windows-gnu --release
5154 - name : Move / Rename Artifacts
5255 run : |
5356 mv target/x86_64-unknown-linux-musl/release/rewatch ./rewatch-linux
57+ mv target/aarch64-unknown-linux-musl/release/rewatch ./rewatch-linux-arm64
5458 mv target/universal2-apple-darwin/release/rewatch ./rewatch-macos
5559 mv target/x86_64-pc-windows-gnu/release/rewatch.exe ./rewatch-windows.exe
5660
Original file line number Diff line number Diff line change 1313 " /rewatch" ,
1414 " /rewatch.cmd" ,
1515 " /rewatch-linux" ,
16+ " /rewatch-linux-arm64" ,
1617 " /rewatch-macos" ,
1718 " /rewatch-windows.exe"
1819 ]
Original file line number Diff line number Diff line change @@ -8,7 +8,12 @@ if [ "$(uname)" = "Darwin" ]; then
88 $DIR /rewatch-macos.exe $@
99elif [ " $( expr substr $( uname -s) 1 5) " = " Linux" ]; then
1010 # Run the Linux Version
11- $DIR /rewatch-linux.exe $@
11+ elif [ " $( expr substr $( uname -m) 1 7) " = " aarch64" ]; then
12+ # Run the Linux ARM64 Version
13+ $DIR /rewatch-linux-arm64.exe $@
14+ else
15+ $DIR /rewatch-linux.exe $@
16+ fi
1217else
1318 echo " No release available for '$( uname) '"
1419 exit 1
You can’t perform that action at this time.
0 commit comments