ci: upgrade GitHub Actions runtime versions #4
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| linux-012: | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install host dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y qemu-system-x86 | |
| - name: Run unit tests | |
| run: python3 -m unittest discover -s tests -v | |
| - name: Check host dependencies | |
| run: ./scripts/bootstrap-host.sh | |
| - name: Build Linux 0.12 images from source | |
| run: python3 rebuild/driver.py build | |
| - name: Verify Linux 0.12 boots and runs ls | |
| run: ./scripts/verify.sh | |
| - name: Upload verification artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: linux-012-ci-artifacts | |
| path: | | |
| out/verify | |
| rebuild/out/logs |