Update gitlab-ci
replace test with build and add CXX to armv7
This commit is contained in:
parent
a2f475986f
commit
ebad54a3a6
@ -1,6 +1,6 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
|
||||||
- test
|
- test
|
||||||
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: "3"
|
GIT_DEPTH: "3"
|
||||||
@ -97,11 +97,12 @@ linux-armv7:
|
|||||||
- stable
|
- stable
|
||||||
script:
|
script:
|
||||||
- export
|
- export
|
||||||
#- rm -rf .cargo
|
- export CXX="arm-linux-gnueabihf-g++"
|
||||||
#- mkdir -p .cargo
|
- rm -rf .cargo
|
||||||
#- echo "[target.armv7-unknown-linux-gnueabihf]" >> .cargo/config
|
- mkdir -p .cargo
|
||||||
#- echo "linker= \"arm-linux-gnueabihf-gcc\"" >> .cargo/config
|
- echo "[target.armv7-unknown-linux-gnueabihf]" >> .cargo/config
|
||||||
#- cat .cargo/config
|
- echo "linker= \"arm-linux-gnueabihf-gcc\"" >> .cargo/config
|
||||||
|
- cat .cargo/config
|
||||||
- cargo build --target armv7-unknown-linux-gnueabihf --release --verbose
|
- cargo build --target armv7-unknown-linux-gnueabihf --release --verbose
|
||||||
- arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/parity
|
- arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/parity
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user