Skip to content

Commit e45f211

Browse files
committed
workflows: build: add build CI workflow
Signed-off-by: James Calligeros <[email protected]>
1 parent 415ff40 commit e45f211

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/build.yaml

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

0 commit comments

Comments
 (0)