Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Aug 29, 2024
1 parent 8c0741b commit 36fe9ff
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
linux-amd64:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- rust-target: aarch64-unknown-linux-musl
os-arch: aarch64
matrix:
include:
- os-arch: aarch64
- os-arch: x86_64
env:
CROSS_SYSROOT: /mnt/alpine-${{ matrix.os-arch }}
steps:
Expand All @@ -30,19 +30,14 @@ jobs:
git submodule update --init
shell: alpine.sh --root {0}

- name: Prepare build environment
run: |
apk add --update alpine-sdk build-base openssl-dev
git submodule update --init
- name: Build
run: |
make HOST=linux PLATFORM=${{ matrix.os-arch }}
chmod +x bin/cliraop-linux-${{ matrix.os-arch }}
shell: alpine.sh --root {0}

- name: Upload artifacts
uses: actions/upload-artifact@v3
shell: alpine.sh {0}
with:
name: cliraop-linux-${{ matrix.os-arch }}
path: releases/

0 comments on commit 36fe9ff

Please sign in to comment.