-
-
Notifications
You must be signed in to change notification settings - Fork 119
40 lines (34 loc) · 1 KB
/
build.yaml
File metadata and controls
40 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: build
on:
pull_request:
branches: [ main ]
workflow_dispatch:
workflow_call:
outputs:
installer_ver:
description: asahi-installer built version string
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
fetch-tags: true
submodules: recursive
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y gcc-aarch64-linux-gnu
sudo apt-get install --no-install-recommends -y 7zip jq
rustup target install aarch64-unknown-none-softfloat
- name: Build asahi-installer
run: |
./build.sh
echo "installer_ver=$(cat releases/latest)" >> $GITHUB_OUTPUT
- name: Upload artefact
uses: actions/upload-artifact@v4
with:
name: installer-build
path: |
releases/*