Put environment where it belongs
This commit is contained in:
parent
dbae04810d
commit
c66821255c
@ -11,6 +11,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
environment:
|
||||||
|
CROSS_REMOTE=true
|
||||||
commands:
|
commands:
|
||||||
- cargo check
|
- cargo check
|
||||||
- apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
|
- apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
|
||||||
@ -18,7 +20,6 @@ steps:
|
|||||||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
|
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
|
||||||
- apt-get update && apt-get install -y docker-ce-cli
|
- apt-get update && apt-get install -y docker-ce-cli
|
||||||
- docker info
|
- docker info
|
||||||
- export CROSS_REMOTE=true
|
|
||||||
- cargo install cross --git https://github.com/cross-rs/cross
|
- cargo install cross --git https://github.com/cross-rs/cross
|
||||||
- cross build --release --target aarch64-unknown-linux-gnu
|
- cross build --release --target aarch64-unknown-linux-gnu
|
||||||
- ls -lahR target/
|
- ls -lahR target/
|
||||||
|
Loading…
Reference in New Issue
Block a user