File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+ workflow_dispatch :
7+ workflow_call :
8+ outputs :
9+ installer_ver :
10+ description : asahi-installer built version string
11+ value : ${{ jobs.build.outputs.installer_ver }}
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ outputs :
17+ installer_ver : ${{ steps.compile.outputs.installer_ver }}
18+
19+ steps :
20+ - uses : actions/checkout@v5
21+ with :
22+ fetch-depth : 0
23+ fetch-tags : true
24+ submodules : recursive
25+
26+ - name : Install build dependencies
27+ run : |
28+ sudo apt-get update
29+ sudo apt-get install --no-install-recommends -y gcc-aarch64-linux-gnu
30+ sudo apt-get install --no-install-recommends -y 7zip jq
31+ rustup target install aarch64-unknown-none-softfloat
32+
33+ - name : Build asahi-installer
34+ id : compile
35+ run : |
36+ ./build.sh
37+ echo "installer_ver=$(cat releases/latest).tar.gz" >> $GITHUB_OUTPUT
38+
39+ - name : Upload artefact
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : installer-build
43+ path : |
44+ releases/*
You can’t perform that action at this time.
0 commit comments