Skip to content

Commit

Permalink
ci: Update Rusk wallet binary artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
HDauven committed Dec 26, 2024
1 parent e6b37b0 commit 7afc13b
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions .github/workflows/ruskwallet_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-latest, macos-15, windows-latest, arm-linux]
os: [ubuntu-24.04, macos-latest, macos-15, windows-latest, arm-linux]
compiler: [cargo]
include:
- os: ubuntu-20.04
- os: ubuntu-24.04
compiler: cargo
target: linux-x64

- os: ubuntu-22.04
- os: arm-linux
compiler: cargo
target: linux-x64-libssl3
target: linux-arm64
flags: --target=aarch64-unknown-linux-gnu
platform: aarch64-unknown-linux-gnu

- os: macos-latest
compiler: cargo
Expand All @@ -43,12 +45,6 @@ jobs:
compiler: cargo
target: windows-x64

- os: arm-linux
compiler: cargo
target: linux-arm64
flags: --target=aarch64-unknown-linux-gnu
platform: aarch64-unknown-linux-gnu

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -75,18 +71,16 @@ jobs:
- name: "Pack binaries"
run: |
mkdir rusk-wallet${{env.SEMVER}}-${{matrix.target}}
echo "Fetching changelog and readme files..."
mv target/${{matrix.platform}}/release/rusk-wallet rusk-wallet${{env.SEMVER}}-${{matrix.target}}
cp ./rusk-wallet/CHANGELOG.md rusk-wallet${{env.SEMVER}}-${{matrix.target}}
cp ./rusk-wallet/README.md rusk-wallet${{env.SEMVER}}-${{matrix.target}}
tar -czvf ruskwallet${{env.SEMVER}}-${{matrix.target}}.tar.gz rusk-wallet${{env.SEMVER}}-${{matrix.target}}
mkdir rusk-wallet-${{env.SEMVER}}-${{matrix.target}}
mv target/${{matrix.platform}}/release/rusk-wallet rusk-wallet-${{env.SEMVER}}-${{matrix.target}}
cp ./rusk-wallet/CHANGELOG.md rusk-wallet-${{env.SEMVER}}-${{matrix.target}}
cp ./rusk-wallet/README.md rusk-wallet-${{env.SEMVER}}-${{matrix.target}}
tar -czvf rusk-wallet-${{env.SEMVER}}-${{matrix.target}}.tar.gz rusk-wallet-${{env.SEMVER}}-${{matrix.target}}
ls -la *.gz
- name: "Upload Wallet Artifacts"
uses: actions/upload-artifact@v3
- name: Upload Wallet Artifacts
uses: actions/upload-artifact@v4
with:
name: wallet-binaries-${{env.SEMVER}}
path: |
./*.gz
name: rusk-wallet-${{ env.SEMVER }}-${{ matrix.target }}
path: ./rusk-wallet-${{ env.SEMVER }}-${{ matrix.target }}.tar.gz
retention-days: 5

0 comments on commit 7afc13b

Please sign in to comment.