34 lines
784 B
YAML
34 lines
784 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
|
|
strategy:
|
|
matrix:
|
|
dev-build: ['y', 'n']
|
|
new-dynarec: ['y', 'n']
|
|
|
|
steps:
|
|
- uses: msys2/setup-msys2@v1
|
|
with:
|
|
update: true
|
|
cache: true
|
|
msystem: MINGW32
|
|
install: 'make mingw-w64-i686-toolchain mingw-w64-i686-openal mingw-w64-i686-freetype mingw-w64-i686-SDL2 mingw-w64-i686-zlib mingw-w64-i686-libpng mingw-w64-i686-libvncserver'
|
|
- uses: actions/checkout@v2
|
|
- name: make
|
|
run: make -fwin/makefile.mingw DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }} VNC=n
|
|
working-directory: ./src
|