Repository navigation
Add extra deps for qemu #38
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository (recursive) | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential erofs-utils meson libarchive-dev libcjson-dev libcap-dev libglib2.0-dev | |
| - name: Build toolchain | |
| run: | | |
| ./buildtoolchain.sh | |
| - name: Build u-boot | |
| run: | | |
| ./builduboot.sh | |
| - name: Build medtool | |
| run: | | |
| ./buildmedtool.sh | |
| - name: Build linux | |
| run: | | |
| ./buildlinux.sh | |
| - name: Build rootfs | |
| run: | | |
| ./buildrootfs.sh | |
| - name: Build qemu | |
| run: | | |
| ./buildqemu.sh | |
| - name: Upload Build Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: linuxmd | |
| path: | | |
| u-boot/u-boot.bin | |
| linux/vmlinux | |
| smolutils/m68k.erofs |