Files
MentOS/.github/workflows/macos.yml
T
Enrico Fraccaroli 046761c1b6 Update macos.yml
2023-06-02 14:14:31 -04:00

37 lines
1000 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
# Set environment variables
#env:
# We globally set CC and CXX.
# CC: x86_64-elf-gcc
# CXX: x86_64-elf-g++
steps:
- name: Clone repository
uses: actions/checkout@v3
#- name: Install dependencies
# run: |
# brew update
# brew install x86_64-elf-binutils x86_64-elf-gcc git cmake qemu nasm e2fsprogs
- name: Build
run: |
cmake -B build
cmake --build build --parallel 2