Skip to content

Commit

Permalink
ci: cross-compile aarch64 build
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Lopez <[email protected]>
  • Loading branch information
slp committed Sep 26, 2024
1 parent 92b9fe1 commit ac704c5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ jobs:
if: github.event_name == 'pull_request'
name: Build aarch64 kernel
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
target:
- aarch64-unknown-linux-gnu
steps:
- name: Code checkout
uses: actions/checkout@v2

- name: Install dependencies
run: sudo apt-get install -y make gcc bc bison flex elfutils python3-pyelftools curl patch libelf-dev
run: sudo apt-get install -y make gcc bc bison flex elfutils python3-pyelftools curl patch libelf-dev gcc-aarch64-linux-gnu

- name: Build aarch64 kernel
run: make
run: make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-

0 comments on commit ac704c5

Please sign in to comment.