Skip to content

Commit

Permalink
Updates for cardano-node 8.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewWestberg committed Dec 21, 2023
1 parent 7bb25dd commit cea496e
Show file tree
Hide file tree
Showing 12 changed files with 1,347 additions and 981 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
rustflags = ["-C", "target-feature=+crt-static"]
target = "x86_64-unknown-linux-musl"
target = "x86_64-unknown-linux-gnu"
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest, target: x86_64-unknown-linux-musl }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-musl, use-cross: true }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-musl, use-cross: true }
- { os: macos-latest, target: x86_64-apple-darwin }
- { os: macos-latest, target: aarch64-apple-darwin, use-cross: true }
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true # recurse submodules
- name: Configure Environment
Expand Down Expand Up @@ -53,7 +56,7 @@ jobs:
;;
*-unknown-linux-*)
sudo apt-get -y update
sudo apt-get -y install automake build-essential pkg-config libffi-dev libgmp-dev libssl-dev libtinfo-dev libsystemd-dev zlib1g-dev make g++ tmux git jq wget libncursesw5 libtool autoconf musl-tools
sudo apt-get -y install automake build-essential pkg-config libffi-dev libgmp-dev libssl-dev libtinfo-dev libsystemd-dev zlib1g-dev make g++ tmux git jq wget libncursesw5 libtool autoconf musl-tools gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
;;
*-apple-darwin)
brew install automake
Expand Down Expand Up @@ -82,6 +85,7 @@ jobs:
command: clippy
args: --release --features "${{ join(matrix.job.features, ',') }}" --target ${{ matrix.job.target }} -- -D warnings
- name: Test
if: ! contains(matrix.job.target, 'aarch64')
uses: actions-rs/cargo@v1
with:
use-cross: ${{ matrix.job.use-cross }}
Expand All @@ -99,7 +103,7 @@ jobs:
PROJECT_NAME=$(sed -n 's/^name = "\(.*\)"/\1/p' Cargo.toml)
PROJECT_VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -n1)
PKG_SUFFIX=".tar.gz" ; case ${{ matrix.job.target }} in *-pc-windows-*) PKG_SUFFIX=".zip" ;; esac;
PKG_NAME=${PROJECT_NAME}-${PROJECT_VERSION}-${{ matrix.job.target }}${PKG_SUFFIX}
PKG_NAME=${PROJECT_NAME}-${PROJECT_VERSION}-${{ matrix.job.os }}-${{ matrix.job.target }}${PKG_SUFFIX}
case ${{ matrix.job.target }} in
*-pc-windows-*) 7z -y a "${PKG_NAME}" ./target/${{matrix.job.target}}/release/cncli.exe | tail -2 ;;
Expand Down
Loading

0 comments on commit cea496e

Please sign in to comment.