Skip to content

Bump actions/checkout from 3 to 4 #502

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #502

Workflow file for this run

# This workflow will build and test gbsplay in various configurations on macOS.
name: macOS Build
on:
push:
pull_request:
types: [opened]
schedule:
- cron: '23 4 5 * *'
jobs:
build-macos:
name: Build and test on macOS
runs-on: macos-latest
strategy:
matrix:
compiler: [gcc, clang]
flags: ['']
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
brew install sdl2
- name: Build and test
env:
CC: ${{ matrix.compiler }}
CONFIGURE_FLAGS: ${{ matrix.flags }} --enable-verbosebuild
run: |
make
- name: Check activated plugouts
run: |
./check_plugouts.sh sdl
- name: Check WAV plugout
run: |
./check_plugout_wav.sh
- name: Check build flags
run: |
./check_buildflags.sh ${{ matrix.flags }} --enable-verbosebuild
- name: Dump configure on error
if: ${{ failure() }}
run: |
bash -x -v configure && cat config.err