File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 66 os : linux
77 - env : TARGET=x86_64-unknown-linux-musl
88 os : linux
9+ addons :
10+ apt :
11+ packages :
12+ - musl-tools
913 - env : TARGET=arm-unknown-linux-gnueabihf
1014 os : linux
1115 - env : TARGET=aarch64-unknown-linux-gnu
1620 - env : TARGET=x86_64-pc-windows-gnu
1721 os : windows
1822
19- before_deploy :
23+ install : skip
24+
25+ script :
2026 - ./build.sh
27+
28+ before_deploy :
2129 - mv ./target/release/oscar "oscar-$TARGET."
2230
2331deploy :
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ rustup target add "$TARGET"
55# Download the Raspberry Pi cross-compilation toolchain if needed
66if [ " $TARGET " = " arm-unknown-linux-gnueabihf" ]
77then
8- git clone --depth=1 https://github.com/raspberrypi/tools.git /tmp/tools
9- export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:$PATH
8+ git clone --depth=1 https://github.com/raspberrypi/tools.git /tmp/tools;
9+ export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:$PATH ;
1010fi
1111
1212cargo build --target=" $TARGET " --release
You can’t perform that action at this time.
0 commit comments