visualboyadvance-m/.github/workflows/msys2-build.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

2021-10-03 20:37:11 +00:00
name: MSYS2 Build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
env:
MSYSTEM: CLANG64
2021-10-03 20:37:11 +00:00
defaults:
run:
shell: msys2 {0}
steps:
- name: Checkout the code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup msys2
uses: msys2/setup-msys2@v2
2021-10-03 20:37:11 +00:00
with:
2021-10-03 20:52:35 +00:00
msystem: CLANG64
update: true
2021-10-03 20:37:11 +00:00
install: >-
mingw-w64-clang-x86_64-toolchain
mingw-w64-clang-x86_64-pkgconf
2021-10-03 20:05:26 +00:00
mingw-w64-clang-x86_64-ffmpeg
mingw-w64-clang-x86_64-FAudio
2021-10-03 20:37:11 +00:00
mingw-w64-clang-x86_64-cmake
mingw-w64-clang-x86_64-ninja
mingw-w64-clang-x86_64-wxWidgets3.2
2021-10-03 20:37:11 +00:00
mingw-w64-clang-x86_64-sfml
mingw-w64-clang-x86_64-SDL2
2021-10-03 20:02:59 +00:00
zip
2021-10-03 20:37:11 +00:00
- name: Configure
run: >-
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DVBAM_STATIC=ON -DENABLE_SSP=ON -DENABLE_ONLINEUPDATES=OFF
2021-10-03 20:37:11 +00:00
- name: Build
run: ninja -C build
- name: Install
run: ninja -C build install