Add NFS client PD and MicroPython VFS support #59
Workflow file for this run
This file contains 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: | |
pull_request: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build_kitty_linux_x86_64: | |
name: Build Kitty example (Linux x86-64) | |
runs-on: [self-hosted, linux, x64] | |
steps: | |
- name: Checkout KISS repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Install apt dependencies | |
run: sudo apt update && sudo apt install -y make clang lld device-tree-compiler unzip git | |
- name: Download Microkit SDK | |
run: ./ci/acquire_sdk.sh microkit-sdk.zip ${{ secrets.GITHUB_TOKEN }} linux-x86-64 | |
shell: bash | |
- name: Extract Microkit SDK | |
run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz | |
- name: Download and install AArch64 GCC toolchain | |
run: | | |
wget -O aarch64-toolchain.tar.gz https://trustworthy.systems/Downloads/microkit/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-elf.tar.xz%3Frev%3D73ff9780c12348b1b6772a1f54ab4bb3 | |
tar xf aarch64-toolchain.tar.gz | |
echo "$(pwd)/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-elf/bin" >> $GITHUB_PATH | |
- name: Build Kitty example | |
run: make -C examples/kitty MICROKIT_SDK=$(pwd)/microkit-sdk-1.2.6 | |
env: | |
NFS_SERVER: 0.0.0.0 | |
NFS_DIRECTORY: test/ | |
LIBGCC: $(pwd)/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-elf/11.3.1 |