Skip to content

Commit 3e55e89

Browse files
committed
workflows: build: add build CI workflow
Signed-off-by: James Calligeros <[email protected]>
1 parent 8f7ebc8 commit 3e55e89

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: build
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
workflow_call:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v5
15+
with:
16+
fetch-depth: 0
17+
fetch-tags: true
18+
submodules: recursive
19+
20+
- name: Install aarch64-linux-gnu toolchain
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install --no-install-recommends -y gcc-aarch64-linux-gnu
24+
25+
- name: Install aarch64-unknown-none-softfloat Rust target
26+
run: rustup target install aarch64-unknown-none-softfloat
27+
28+
- name: Install bdeps
29+
run: |
30+
sudo apt-get install --no-install-recommends -y 7zip jq
31+
32+
- name: Build asahi-installer
33+
run: ./build.sh
34+
35+
- name: Upload artefact
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: installer-build
39+
path: |
40+
releases/*

0 commit comments

Comments
 (0)