Skip to content

Commit

Permalink
Test if plugins are compiling for new commit and pull requests
Browse files Browse the repository at this point in the history
Doesn't include VST2 due to lack of headers in repo.

MSVC build is disabled due to internal compiler error.
No MinGW build for Windows due to its complexity.
  • Loading branch information
werman committed May 11, 2020
1 parent 02fddd7 commit 444c85d
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CMake Build Matrix

on: [push, pull_request]

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
# MSVC compiler 16.5.0+d4cbfca49 crashes with:
# ladspa++.h(655,1): fatal error C1001: Internal compiler error.
#
# - {
# name: "Windows Latest MSVC",
# os: windows-latest,
# cc: "cl", cxx: "cl",
# environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
# }
- {
name: "Ubuntu Latest GCC",
os: ubuntu-latest,
cc: "gcc", cxx: "g++"
}
- {
name: "macOS Latest Clang",
os: macos-latest,
cc: "clang", cxx: "clang++"
}

steps:
- uses: actions/checkout@v1

- name: Configure
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
run: |
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cmake --build build

0 comments on commit 444c85d

Please sign in to comment.