Update to latest versions of sdl2 and tcc #242
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-unix: | |
name: on ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Linux | |
os: ubuntu-latest | |
- name: Mac | |
os: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies for Linux | |
if: ${{ matrix.name == 'Linux' }} | |
run: | | |
sudo apt update | |
sudo apt install -y libsdl2-dev | |
- name: Install dependencies for Mac | |
if: ${{ matrix.name == 'Mac' }} | |
run: | | |
brew install sdl2 coreutils | |
- name: Build | |
run: make -j$(nproc) zelda3 |