2021-10-03 20:37:11 +00:00
|
|
|
name: MSYS2 Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
2021-10-03 20:45:22 +00:00
|
|
|
env:
|
|
|
|
MSYSTEM: CLANG64
|
2021-10-03 20:37:11 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: msys2 {0}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-10-03 19:56:31 +00:00
|
|
|
with:
|
|
|
|
submodules: true
|
2021-10-03 20:37:11 +00:00
|
|
|
|
|
|
|
- uses: msys2/setup-msys2@v2
|
|
|
|
with:
|
2021-10-03 20:52:35 +00:00
|
|
|
msystem: CLANG64
|
2021-10-03 20:37:11 +00:00
|
|
|
install: >-
|
|
|
|
mingw-w64-clang-x86_64-toolchain
|
|
|
|
mingw-w64-clang-x86_64-pkg-config
|
2021-10-03 20:05:26 +00:00
|
|
|
mingw-w64-clang-x86_64-ffmpeg
|
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-wxmsw3.1
|
|
|
|
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
|
2021-10-03 21:08:07 +00:00
|
|
|
run: >-
|
2021-10-03 20:37:11 +00:00
|
|
|
cmake -B build -G Ninja
|
|
|
|
- name: Build
|
|
|
|
run: ninja -C build
|
|
|
|
|
|
|
|
- name: Install
|
|
|
|
run: ninja -C build install
|