diff options
author | eitsupi <50911393+eitsupi@users.noreply.github.com> | 2023-08-27 08:13:24 +0000 |
---|---|---|
committer | Tom Milligan <tommilligan@users.noreply.github.com> | 2023-09-09 08:31:25 +0100 |
commit | 623291625a66fb69cd5265ea2a3c99ff089dc40d (patch) | |
tree | 8e8baa8f72b6408ec0c429593d39a3c9939d70cd | |
parent | 4dad5a86c8722a5a5d7cd45c97cfd8ce629bc6af (diff) |
deploy aarch64-unknown-linux-musl
-rw-r--r-- | .github/workflows/deploy.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4052fd2..827f4af 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,12 +16,10 @@ jobs: strategy: fail-fast: false matrix: - target: - - x86_64-unknown-linux-gnu - - x86_64-unknown-linux-musl - - x86_64-apple-darwin - - x86_64-pc-windows-msvc include: + - target: aarch64-unknown-linux-musl + os: ubuntu-latest + name: aarch64-unknown-linux-musl.tar.gz - target: x86_64-unknown-linux-gnu os: ubuntu-latest name: x86_64-unknown-linux-gnu.tar.gz @@ -56,17 +54,19 @@ jobs: profile: minimal target: ${{ matrix.target }} - - name: Setup | musl tools - if: matrix.target == 'x86_64-unknown-linux-musl' - run: sudo apt install -y musl-tools + - name: Setup | cross + if: endsWith(matrix.target, '-unknown-linux-musl') + uses: taiki-e/install-action@v2 + with: + tool: cross - name: Build | Build - if: matrix.target != 'x86_64-unknown-linux-musl' + if: ${{ !endsWith(matrix.target, '-unknown-linux-musl') }} run: cargo build --release --target ${{ matrix.target }} - name: Build | Build (musl) - if: matrix.target == 'x86_64-unknown-linux-musl' - run: cargo build --release --target ${{ matrix.target }} + if: endsWith(matrix.target, '-unknown-linux-musl') + run: cross build --release --target ${{ matrix.target }} - name: Post Setup | Extract tag name shell: bash |