Skip to content

Commit

Permalink
Prepare for aarch64 build when the runner will be ready
Browse files Browse the repository at this point in the history
  • Loading branch information
fri committed Sep 13, 2024
1 parent 8fd8394 commit f65aaab
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Build

on: workflow_dispatch

Expand All @@ -7,18 +7,21 @@ jobs:
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-musl
# platform: [linux/amd64, linux/arm64]
platform: [linux/amd64]
include:
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
runs-on: ${{ matrix.os }}
- platform: linux/amd64
target: x86_64-unknown-linux-musl
runner: ubuntu-latest
# - platform: linux/arm64
# target: aarch64-unknown-linux-musl
# runner: ubuntu-latest
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Build Linux
if: matrix.os == 'ubuntu-latest'
run: |
docker run --rm -t \
docker run --platform ${{ matrix.platform }} --rm -t \
-v $HOME/.cargo/registry/:/root/.cargo/registry \
-v "$(pwd)":/volume \
clux/muslrust:stable \
Expand Down

0 comments on commit f65aaab

Please sign in to comment.