Create makefile.yml

This commit is contained in:
teachingtechYT 2024-03-15 12:56:41 +11:00 committed by GitHub
parent b53618d516
commit 3417ac3684
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

45
.github/workflows/makefile.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: Makefile CI
on:
push:
branches: [ "nonplanar" ]
pull_request:
branches: [ "nonplanar" ]
paths:
- 'deps/**'
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- ".github/workflows/build_*.yml"
workflow_dispatch: # allows for manual dispatch
inputs:
build-deps-only:
description: 'Only build dependencies (bypasses caching)'
type: boolean
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build_all:
name: Build All
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: windows-latest
- os: macos-12
arch: x86_64
- os: macos-12
arch: arm64
uses: ./.github/workflows/build_check_cache.yml
with:
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
build-deps-only: ${{ inputs.build-deps-only || false }}
secrets: inherit