Update README.md to correct additional spelling and grammar errors + Simple PRNG #37
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 CI | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| arm_toolchain_version: 14.2.rel1 | |
| jobs: | |
| build: | |
| name: ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.config.os }}-${{ matrix.config.os-version }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - name: Linux (x64) | |
| os: ubuntu | |
| os-version: 22.04 | |
| toolchain_arch: x86_64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: '0' | |
| - name: Install Linux Dependencies | |
| if: matrix.config.os == 'ubuntu' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y qemu-system-aarch64 qemu-utils make mtools dosfstools wget xz-utils | |
| - name: Install Toolchain | |
| run: | | |
| wget -q "https://developer.arm.com/-/media/Files/downloads/gnu/${{env.arm_toolchain_version}}/binrel/arm-gnu-toolchain-${{env.arm_toolchain_version}}-${{matrix.config.toolchain_arch}}-aarch64-none-elf.tar.xz" -O "toolchain.tar.xz" | |
| tar -xf toolchain.tar.xz | |
| mv "arm-gnu-toolchain-${{env.arm_toolchain_version}}-${{matrix.config.toolchain_arch}}-aarch64-none-elf/" "$RUNNER_TEMP/arm-toolchain" | |
| echo "$RUNNER_TEMP/arm-toolchain/bin" >> $GITHUB_PATH | |
| - name: Build | |
| run: | | |
| mkdir -pv fs/redos/user | |
| make all LOAD_ADDR=0x41000000 | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "${{ matrix.config.name }} - kernel + disk.img + user programs" | |
| path: | | |
| kernel.elf | |
| kernel.img | |
| disk.img | |
| run_virt | |
| debug | |
| createfs | |
| fs/redos/user/*.elf |