Files
MentOS/.github/workflows/macos.yml
T
Enrico Fraccaroli (Galfurian) 40e4faad90 Use gcc@11 under MacOS
2023-11-30 11:43:45 -05:00

36 lines
968 B
YAML

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 nasm
- name: Build
env:
TOOLPREFIX: x86_64-elf-
CC: x86_64-elf-gcc
CXX: x86_64-elf-g++
LD: x86_64-elf-ld
run: |
cmake -DCMAKE_ASM_COMPILER=/usr/local/bin/nasm -B build
cmake --build build --parallel 2