Skip to content

servers: allocate directory descriptor after opendir() response #380

servers: allocate directory descriptor after opendir() response

servers: allocate directory descriptor after opendir() response #380

Workflow file for this run

name: build - macOS
on:
[push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: brew install nasm curl make
- name: Fetch and install toolchain
run: |
curl https://jewelcodes.io/lux/toolchain-macos-arm64.tar.xz -o toolchain-macos-arm64.tar.xz
tar -xvJf toolchain-macos-arm64.tar.xz
mv toolchain $HOME/work/toolchain
mv host $HOME/work/host
echo "$HOME/work/toolchain/bin" >> $GITHUB_PATH
- name: Verify toolchain is executable
run: x86_64-lux-gcc -v
- name: Build kernel
run: make
- name: Clean up artifacts
run: |
rm -rf toolchain-macos-arm64.tar.xz $HOME/work/toolchain $HOME/work/host
make clean