Closed josefwegner closed 4 months ago
It seems that the AARCH64/ARM64 release artifacts for GNU linux are missing for release 14 and above.
Thanks for this bug report! It indeed failed for Topgrade 14 and above, I will give them a fix when I have time.
I noticed that all actions by actions-rs
has been archived, perhaps there are some bugs inside the workflow. I was able to build all targets by manually installing cross
within the workflow:
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
[
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-musl",
"x86_64-unknown-freebsd",
]
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Set up cross
run: cargo install --locked cross
- name: Build
run: cross build --release --all-features --target ${{matrix.target}}
- name: Run tests
# Linux can't run freebsd executables, so we have to skip testing
if: ${{ matrix.target != 'x86_64-unknown-freebsd' }}
run: cross test --release --all-features --target ${{matrix.target}}
- name: Save files
uses: actions/upload-artifact@v4
with:
name: topgrade-${{ matrix.target }}
path: |
target/**/release/topgrade
target/**/release/topgrade.exe
Close as this has been fixed, see the latest v15.0.0 release, it has a Linux/aarch64/glibc build included.
Erroneous Behavior
Expected Behavior
Topgrade should upgrade itself to 14.0.x.
Steps to reproduce
Run topgrade on Raspberry Pi OS 64bit.
Possible Cause (Optional)
It seems that the AARCH64/ARM64 release artifacts for GNU linux are missing for release 14 and above.
Problem persists without calling from topgrade
N/A
Did you run topgrade through
Remote Execution
Additional Details
Operation System/Version Raspberry Pi OS 64bit (Bookworm)
Installation Downloaded from https://github.com/topgrade-rs/topgrade/releases/download/v13.0.0/topgrade-v13.0.0-aarch64-unknown-linux-gnu.tar.gz and copied it to ~/bin.
Topgrade version (
topgrade -V
)Verbose Output (
topgrade -v
)