Skip to content

Commit

Permalink
fix: fixes release pipeline due bump in rust version (#351)
Browse files Browse the repository at this point in the history
* fix: fix broken release pipeline due to bump in rustc / warnings

* fix: fix broken release pipeline for building aws crate dep
  • Loading branch information
dutterbutter authored Sep 27, 2024
1 parent d35eb77 commit 09c7ed8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
env:
REPO_NAME: ${{ github.repository_owner }}/era-test-node
CARGO_TERM_COLOR: always
RUSTFLAGS: ""

jobs:
extract-version:
Expand Down Expand Up @@ -60,6 +61,8 @@ jobs:
# ==============================

- name: Install cross v0.2.4 from source
env:
RUSTFLAGS: ""
run: |
cargo install cross --git https://github.com/cross-rs/cross --tag v0.2.4
Expand Down
5 changes: 4 additions & 1 deletion Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ pre-build = [
"export DEBIAN_FRONTEND=noninteractive",
"export TZ=Etc/UTC",
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt update -q && apt upgrade -yq && apt install --assume-yes --no-install-recommends libclang-10-dev clang-10 cmake build-essential pkg-config libssl-dev:$CROSS_DEB_ARCH libsasl2-dev llvm-dev gnutls-bin"
"apt update -q && apt upgrade -yq && apt install --assume-yes --no-install-recommends libclang-10-dev clang-10 cmake build-essential pkg-config libssl-dev:$CROSS_DEB_ARCH libsasl2-dev llvm-dev gnutls-bin",
"apt install -y gcc-10 g++-10",
"update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10",
"update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10"
]

0 comments on commit 09c7ed8

Please sign in to comment.