CI: add manual uefi-only boot.bin build + deploy workflows #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| workflow_call: | |
| outputs: | |
| installer_ver: | |
| description: asahi-installer built version string | |
| value: ${{ jobs.build.outputs.installer_ver }} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| installer_ver: ${{ steps.compile.outputs.installer_ver }} | |
| 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 | |
| id: compile | |
| run: | | |
| ./build.sh | |
| echo "installer_ver=$(cat releases/latest).tar.gz" >> $GITHUB_OUTPUT | |
| - name: Upload artefact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: installer-build | |
| path: | | |
| releases/* |