Skip to content

Commit

Permalink
test cmake builds in CI
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jul 5, 2023
1 parent 70305b1 commit 12b4a4b
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions .github/workflows/build.yml
@@ -1,10 +1,22 @@
name: build

on:
push:
on: [push, pull_request]

jobs:
linux:
linux-cmake:
strategy:
matrix:
target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
target: ${{ matrix.target }}

linux-make:
strategy:
matrix:
target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64]
Expand All @@ -17,7 +29,20 @@ jobs:
with:
target: ${{ matrix.target }}

macos:
macos-cmake:
strategy:
matrix:
target: [macos-intel, macos-universal]
runs-on: macos-11
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
target: ${{ matrix.target }}

macos-make:
strategy:
matrix:
target: [macos-intel, macos-universal]
Expand All @@ -30,7 +55,21 @@ jobs:
with:
target: ${{ matrix.target }}

windows:
windows-cmake:
strategy:
matrix:
target: [win32, win64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
target: ${{ matrix.target }}
pawpaw: true

windows-make:
strategy:
matrix:
target: [win32, win64]
Expand Down

0 comments on commit 12b4a4b

Please sign in to comment.