-
Notifications
You must be signed in to change notification settings - Fork 34
42 lines (36 loc) · 1.45 KB
/
GHA.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
jobs:
build:
strategy:
matrix:
config:
- { os: windows-latest, build_type: Release, compiler: msvc, extra_settings: '-A Win32' }
- { os: windows-latest, build_type: Debug, compiler: msvc, extra_settings: '-A Win32' }
#- { os: windows-latest, build_type: Release, compiler: msvc, extra_settings: '-A x64' }
#- { os: windows-latest, build_type: Debug, compiler: msvc, extra_settings: '-A x64' }
- { os: windows-latest, build_type: Release, compiler: mingw, extra_settings: '-G "MSYS Makefiles"' }
- { os: windows-latest, build_type: Debug, compiler: mingw, extra_settings: '-G "MSYS Makefiles"' }
- { os: macos-latest, build_type: Release }
- { os: macos-latest, build_type: Debug }
- { os: ubuntu-latest, build_type: Release }
- { os: ubuntu-latest, build_type: Debug }
fail-fast: false
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ./.github/workflows/action-build-libvgm
with:
checkout_path: ${{ github.workspace }}
install_path: ${{ github.workspace }}/install
build_type: ${{ matrix.config.build_type }}
with_msvc: ${{ matrix.config.compiler == 'msvc' }}
extra_settings: ${{ matrix.config.extra_settings }}