From c0452d4de05472f42872a3cc4ac5c421275f2703 Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Wed, 8 Jan 2025 21:47:33 +0000 Subject: [PATCH] build actions for github --- .github/workflows/build.yml | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..9b8fbda --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,53 @@ +name: build + +on: [push, pull_request] + +jobs: + linux: + strategy: + matrix: + target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64] + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: distrho/dpf-makefile-action@v1 + with: + target: ${{ matrix.target }} + + macos: + strategy: + matrix: + target: [macos-intel, macos-universal] + runs-on: macos-13 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: distrho/dpf-makefile-action@v1 + with: + target: ${{ matrix.target }} + + windows: + strategy: + matrix: + target: [win32, win64] + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: distrho/dpf-makefile-action@v1 + with: + target: ${{ matrix.target }} + +# pluginval: +# runs-on: ubuntu-20.04 +# steps: +# - uses: actions/checkout@v4 +# with: +# submodules: recursive +# - uses: distrho/dpf-makefile-action@v1 +# with: +# target: pluginval