File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 2121 cargo b -p samlang-cli --release --target x86_64-unknown-linux-gnu
2222 mkdir bin
2323 cp target/aarch64-unknown-linux-gnu/release/samlang-cli bin/samlang-aarch64-unknown-linux-gnu
24- cp target/x86_64-unknown-linux-gnurelease /samlang-cli bin/samlang-x86_64-unknown-linux-gnu
24+ cp target/x86_64-unknown-linux-gnu/release /samlang-cli bin/samlang-x86_64-unknown-linux-gnu
2525 - name : Upload Artifact
2626 uses : actions/upload-artifact@v3
2727 with :
@@ -55,17 +55,13 @@ jobs:
5555 - uses : dtolnay/rust-toolchain@stable
5656 with :
5757 targets : aarch64-pc-windows-msvc,x86_64-pc-windows-msvc
58- - name : Install Additional Linkers
59- run : |
60- sudo apt update
61- sudo apt install gcc-aarch64-linux-gnu
6258 - name : Build
6359 run : |
6460 cargo b -p samlang-cli --release --target aarch64-pc-windows-msvc
6561 cargo b -p samlang-cli --release --target x86_64-pc-windows-msvc
6662 mkdir bin
67- cp target/aarch64-pc-windows-msvc/release/samlang-cli bin/samlang-aarch64-pc-windows-msvc
68- cp target/x86_64-pc-windows-msvc/release/samlang-cli bin/samlang-x86_64-pc-windows-msvc
63+ cp target/aarch64-pc-windows-msvc/release/samlang-cli.exe bin/samlang-aarch64-pc-windows-msvc.exe
64+ cp target/x86_64-pc-windows-msvc/release/samlang-cli.exe bin/samlang-x86_64-pc-windows-msvc.exe
6965 - name : Upload Artifact
7066 uses : actions/upload-artifact@v3
7167 with :
You can’t perform that action at this time.
0 commit comments