added build statusi #39
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: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: silicon-binaries | |
run: git clone https://github.com/ColleagueRiley/Silicon -b binaries silicon-binaries | |
- name: gcc | |
run: gcc main.c -I./Silicon/include silicon-binaries/ARM/*.o -framework AppKit -ISilicon/include -framework OpenGL -framework CoreVideo -std=c99 |