From 3417ac3684627b2c027a32516a5d12d8a7608d15 Mon Sep 17 00:00:00 2001 From: teachingtechYT Date: Fri, 15 Mar 2024 12:56:41 +1100 Subject: [PATCH] Create makefile.yml --- .github/workflows/makefile.yml | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/makefile.yml diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 000000000..3114d3981 --- /dev/null +++ b/.github/workflows/makefile.yml @@ -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