diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efa648d..6c10d77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,23 @@ name: Main on: [push] jobs: - examples_template: + macos: + runs-on: macos-latest # This runs the job on macOS + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install dependencies + run: | + brew install glfw libgles2 + - name: Download c3 tool + run: wget https://github.com/c3lang/c3c/releases/download/latest/c3-macos.zip + - name: Extract c3 tool + run: unzip c3-macos.zip + - name: List directory structure + run: tree -L 2 + - name: Build with c3 + run: ./c3/c3c build examples_template + linux: runs-on: ${{ matrix.os }} strategy: matrix: