|
16 | 16 | branches: [ "main" ]
|
17 | 17 |
|
18 | 18 | jobs:
|
19 |
| - build: |
| 19 | + build_linux_x64: |
20 | 20 | name: Build SDK (Linux x86-64)
|
21 | 21 | runs-on: ubuntu-20.04
|
22 | 22 | steps:
|
|
46 | 46 | ./pyenv/bin/pip install --upgrade pip setuptools wheel
|
47 | 47 | ./pyenv/bin/pip install -r requirements.txt
|
48 | 48 | ./pyenv/bin/python build_sdk.py --sel4=seL4
|
| 49 | + build_macos_x64: |
| 50 | + name: Build SDK (macOS x86-64) |
| 51 | + runs-on: macos-12 |
| 52 | + steps: |
| 53 | + - name: Checkout Microkit repository |
| 54 | + uses: actions/checkout@v3 |
| 55 | + - name: Checkout seL4 repository |
| 56 | + uses: actions/checkout@v3 |
| 57 | + with: |
| 58 | + repository: seL4/seL4 |
| 59 | + ref: microkit |
| 60 | + path: seL4 |
| 61 | + - name: Install SDK dependencies |
| 62 | + run: brew install pandoc cmake dtc ninja qemu libxml2 python@3.9 coreutils texlive |
| 63 | + - name: Install AArch64 GCC toolchain |
| 64 | + run: | |
| 65 | + wget -O aarch64-toolchain.tar.gz https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-aarch64-none-elf.tar.xz?rev=51c39c753f8c4a54875b7c5dccfb84ef&hash=DB5BC5D16E3FE6AB60E8F51B97CE5777 |
| 66 | + tar xf aarch64-toolchain.tar.gz |
| 67 | + echo "$(pwd)/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-aarch64-none-elf/bin" >> $GITHUB_PATH |
| 68 | + - name: Build SDK |
| 69 | + run: | |
| 70 | + python3.9 -m venv pyenv |
| 71 | + ./pyenv/bin/pip install --upgrade pip setuptools wheel |
| 72 | + ./pyenv/bin/pip install -r requirements.txt |
| 73 | + ./pyenv/bin/python build_sdk.py --sel4=seL4 |
| 74 | + build_macos_arm64: |
| 75 | + name: Build SDK (macOS ARM64) |
| 76 | + runs-on: macos-12 |
| 77 | + steps: |
| 78 | + - name: Checkout Microkit repository |
| 79 | + uses: actions/checkout@v3 |
| 80 | + - name: Checkout seL4 repository |
| 81 | + uses: actions/checkout@v3 |
| 82 | + with: |
| 83 | + repository: seL4/seL4 |
| 84 | + ref: microkit |
| 85 | + path: seL4 |
| 86 | + - name: Install SDK dependencies |
| 87 | + run: brew install pandoc cmake dtc ninja qemu libxml2 python@3.9 coreutils texlive |
| 88 | + - name: Install AArch64 GCC toolchain |
| 89 | + run: | |
| 90 | + wget -O aarch64-toolchain.tar.gz https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-aarch64-none-elf.tar.xz?rev=51c39c753f8c4a54875b7c5dccfb84ef&hash=DB5BC5D16E3FE6AB60E8F51B97CE5777 |
| 91 | + tar xf aarch64-toolchain.tar.gz |
| 92 | + echo "$(pwd)/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-aarch64-none-elf/bin" >> $GITHUB_PATH |
| 93 | + - name: Build SDK |
| 94 | + run: | |
| 95 | + python3.9 -m venv pyenv |
| 96 | + ./pyenv/bin/pip install --upgrade pip setuptools wheel |
| 97 | + ./pyenv/bin/pip install -r requirements.txt |
| 98 | + ./pyenv/bin/python build_sdk.py --sel4=seL4 --tool-target-triple=aarch64-apple-darwin |
0 commit comments