ci: update release workflow and bump obikmer to 1.1.26
Replaces the macOS ARM64 cross-compilation container with a custom internal registry image. Adds explicit steps to install the `aarch64-apple-darwin` Rust target and `jq`, and updates the build command to use `--no-default-features`. Bumps the `obikmer` package version from 1.1.25 to 1.1.26.
This commit is contained in:
@@ -86,18 +86,13 @@ jobs:
|
||||
build-macos-arm64:
|
||||
needs: create-release
|
||||
runs-on: ubuntu-latest
|
||||
container: joseluisq/rust-linux-darwin-builder:latest
|
||||
container: registry.metabarcoding.org/cibuilder/rustcrossosx:latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: src
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Add target and install jq
|
||||
run: |
|
||||
rustup target add aarch64-apple-darwin
|
||||
apt-get update -qq && apt-get install -y -qq jq
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@@ -109,11 +104,7 @@ jobs:
|
||||
restore-keys: macos-arm64-cargo-
|
||||
|
||||
- name: Build macOS binary
|
||||
env:
|
||||
CC: aarch64-apple-darwin22.4-clang
|
||||
CXX: aarch64-apple-darwin22.4-clang++
|
||||
CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER: aarch64-apple-darwin22.4-clang
|
||||
run: cargo build --release --target aarch64-apple-darwin
|
||||
run: cargo build --release --target aarch64-apple-darwin --no-default-features
|
||||
|
||||
- name: Prepare and upload artifact
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user