Add GitHub CI
This commit is contained in:
parent
86183affed
commit
d66d62452f
32
.github/workflows/c-cpp.yml
vendored
Normal file
32
.github/workflows/c-cpp.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user