Files
86Box/.github/workflows/c-cpp.yml
David Hrdlička d66d62452f Add GitHub CI
2020-06-27 15:17:53 +02:00

33 lines
730 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
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'
- uses: actions/checkout@v2
- name: make
run: make -fwin/makefile.mingw DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }}
working-directory: ./src