mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
fixing small CI mistakes
This commit is contained in:
40
.github/workflows/macos.yml
vendored
git.filemode.normal_file
40
.github/workflows/macos.yml
vendored
git.filemode.normal_file
@@ -0,0 +1,40 @@
|
||||
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, arm]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user