From fc197beb8d773234f6c62d628e1c0b92e73aec8e Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Thu, 14 Nov 2024 01:32:23 +0100 Subject: [PATCH] ci: add GitHub actiosn workflow based on distrho/dpf-makefile-action Signed-off-by: Christopher Arndt --- .github/workflows/build.yml | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 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..b0f49f1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,78 @@ +name: Build and test plugin + +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" + +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 + + source: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: distrho/dpf-makefile-action@v1 + with: + target: source