mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 06:33:35 +00:00
41 lines
761 B
YAML
41 lines
761 B
YAML
name: macOS
|
|
|
|
on:
|
|
repository_dispatch:
|
|
types: [create-pull-request]
|
|
pull_request:
|
|
push:
|
|
paths-ignore:
|
|
- '.gitignore'
|
|
- 'LICENSE'
|
|
- 'README.md'
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [macOS-latest]
|
|
arch: [x86_64]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
# Install system dependencies
|
|
- name: Install Dependancies
|
|
run: |
|
|
brew install SDL2
|
|
|
|
# Build the lib
|
|
- name: Build MacroLibX
|
|
run: make -j && make fclean && make debug
|
|
|
|
# Build the example
|
|
- name: Build Example
|
|
run: cd example && bash ./build.sh
|
|
|