Skip to content

Commit 20484a2

Browse files
committed
ci: split up release publish jobs
Signed-off-by: Sergio Lopez <slp@redhat.com>
1 parent 58ba44f commit 20484a2

1 file changed

Lines changed: 24 additions & 10 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ permissions:
66
contents: write
77

88
jobs:
9-
build:
10-
name: Build binaries
9+
build-x86_64:
10+
name: Build package for x86_64
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
rust:
15-
- stable
16-
target:
17-
- x86_64-unknown-linux-gnu
1812
steps:
1913
- name: Code checkout
2014
uses: actions/checkout@v2
@@ -36,10 +30,20 @@ jobs:
3630
GITHUB_TOKEN: ${{ github.TOKEN }}
3731
shell: bash
3832

33+
build-aarch64:
34+
name: Build package for aarch64
35+
runs-on: ubuntu-24.04-arm
36+
steps:
37+
- name: Code checkout
38+
uses: actions/checkout@v2
39+
40+
- name: Install dependencies
41+
run: sudo apt-get update && sudo apt-get install -y make gcc bc bison flex elfutils python3-pyelftools curl patch libelf-dev
42+
3943
- name: Build aarch64 package
4044
run: |
41-
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
42-
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- PREFIX=tmp install
45+
make
46+
make PREFIX=tmp install
4347
mkdir libkrunfw
4448
cp Makefile LICENSE-* kernel.c bin2cbundle.py libkrunfw
4549
tar czf libkrunfw-prebuilt-aarch64.tgz libkrunfw
@@ -55,6 +59,16 @@ jobs:
5559
GITHUB_TOKEN: ${{ github.TOKEN }}
5660
shell: bash
5761

62+
build-riscv64:
63+
name: Build package for riscv64
64+
runs-on: ubuntu-latest
65+
steps:
66+
- name: Code checkout
67+
uses: actions/checkout@v2
68+
69+
- name: Install dependencies
70+
run: sudo apt-get update && sudo apt-get install -y make gcc bc bison flex elfutils python3-pyelftools curl patch libelf-dev gcc-riscv64-linux-gnu
71+
5872
- name: Build riscv64 package
5973
run: |
6074
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu-

0 commit comments

Comments
 (0)