Skip to content

Commit

Permalink
fix error codes, latest tag for release and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
sostrovskyi committed Jul 4, 2023
1 parent ec80e23 commit 5a9ee78
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .ci/azure/git-remote-gosh-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variables:
- name: RUSTUP_TOOLCHAIN
value: 1.68.0
value: 1.70.0

trigger: none
pr: none
Expand Down Expand Up @@ -45,7 +45,7 @@ steps:
# Linux
- script: |
set -ex
sudo apt install -y protobuf-compiler make clang pkg-config libssl-dev libc6-dev-armhf-cross
sudo apt install -y protobuf-compiler
condition: eq( variables['Agent.OS'], 'Linux' )
displayName: Install pre-requirements Linux
# Mac
Expand Down Expand Up @@ -102,8 +102,9 @@ steps:
- script: |
set -ex
sudo apt update -y
sudo apt install -y build-essential g++-x86-64-linux-gnu libc6-dev-amd64-cross g++-aarch64-linux-gnu libc6-dev-arm64-cross gcc-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-gnu
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
sudo apt install -y clang build-essential g++-x86-64-linux-gnu libc6-dev-amd64-cross g++-aarch64-linux-gnu libc6-dev-arm64-cross gcc-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu
env:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: x86_64-linux-gnu-gcc
Expand All @@ -112,6 +113,7 @@ steps:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
CXX_aarch64_unknown_linux_gnu: aarch64-linux-gnu-g++
BINDGEN_EXTRA_CLANG_ARGS": '--sysroot /usr/arm-linux-gnueabi'
workingDirectory: $(versionNo)/git-remote-gosh
condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['DRYRUN'], 'false'))
displayName: Build Linux arm64
Expand Down

0 comments on commit 5a9ee78

Please sign in to comment.