Updated version to v1.2.13 #30
Workflow file for this run
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 CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ macos-latest, macos-11 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install SDL2 | |
run: | | |
curl -LO https://github.com/libsdl-org/SDL/releases/download/release-${SDL_VERSION}/SDL2-${SDL_VERSION}.dmg | |
hdiutil attach SDL2-${SDL_VERSION}.dmg | |
sudo cp -r /Volumes/SDL2/SDL2.framework /Library/Frameworks/ | |
env: | |
SDL_VERSION: "2.0.20" | |
- name: Configure | |
run: cmake -B ${{github.workspace}}/build | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build | |
env: | |
MAKEFLAGS: "-j3" |