Use x86_64-elf-gcc under MacOS #114
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: MacOS | |
on: | |
push: | |
branches-ignore: | |
- "releases/**" | |
paths-ignore: | |
- "**.md" | |
- ".gitignore" | |
- "**/ubuntu.yml" | |
- "**/windows.yml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- ".gitignore" | |
- "**/ubuntu.yml" | |
- "**/windows.yml" | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
brew install x86_64-elf-gcc git cmake nasm | |
- name: Build | |
run: | | |
cmake -B build | |
cmake --build build --parallel 2 |