actions: add separate debug/release lanes

No debug on Windows because the container isn't powerful enough
This commit is contained in:
Ryan 2021-01-10 01:59:09 -05:00 committed by Ryan Lucia
parent 7f46b687e1
commit 4b1d23e6be
1 changed files with 26 additions and 17 deletions

View File

@ -15,9 +15,11 @@ jobs:
matrix: matrix:
config: config:
- { - {
name: Windows MSVC, name: Windows MSVC Release,
os: windows-latest, os: windows-latest,
msvc: true msvc: true,
buildtype: release,
args: -Ddefault_library=static --force-fallback-for=zlib,harfbuzz
} }
#- { #- {
# name: Windows MinGW, # name: Windows MinGW,
@ -25,12 +27,28 @@ jobs:
# msvc: false # msvc: false
#} #}
- { - {
name: "Ubuntu", name: Ubuntu Debug,
os: ubuntu-latest os: ubuntu-latest,
buildtype: debugoptimized,
args: ""
} }
- { - {
name: "macOS", name: Ubuntu Release,
os: macos-latest os: ubuntu-latest,
buildtype: release,
args: ""
}
- {
name: macOS Debug,
os: macos-latest,
buildtype: debugoptimized,
args: -Ddefault_library=static
}
- {
name: macOS Release,
os: macos-latest,
buildtype: release,
args: -Ddefault_library=static
} }
steps: steps:
@ -75,17 +93,8 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install ninja-build build-essential libx11-dev libwxgtk3.0-gtk3-dev libfreetype6-dev pkg-config libfontconfig1-dev libass-dev libasound2-dev libffms2-dev intltool libboost-all-dev sudo apt-get install ninja-build build-essential libx11-dev libwxgtk3.0-gtk3-dev libfreetype6-dev pkg-config libfontconfig1-dev libass-dev libasound2-dev libffms2-dev intltool libboost-all-dev
- name: Configure (Windows) - name: Configure
if: matrix.config.os == 'windows-latest' run: meson build ${{ matrix.config.args }} -Dbuildtype=${{ matrix.config.buildtype }}
run: meson build -Ddefault_library=static --force-fallback-for=zlib,harfbuzz -Dbuildtype=release
- name: Configure (MacOS)
if: matrix.config.os == 'macos-latest'
run: meson build -Ddefault_library=static
- name: Configure (Linux)
if: matrix.config.os == 'ubuntu-latest'
run: meson build
- name: Build - name: Build
run: meson compile -C build run: meson compile -C build