Modernize MSYS2 Makefile build
This commit is contained in:
28
.github/workflows/c-cpp.yml
vendored
28
.github/workflows/c-cpp.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: MinGW64 Makefile
|
name: MSYS2 Makefile
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.environment.msystem }} Makefile build (DEV_BUILD=${{ matrix.dev-build }}, NEW_DYNAREC=${{ matrix.new-dynarec }})
|
name: MSYS2 Makefile build ${{ matrix.build.name }} ${{ matrix.dynarec.name }} build (${{ matrix.environment.msystem }})
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
@@ -27,8 +27,22 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
dev-build: ['y', 'n']
|
build:
|
||||||
new-dynarec: ['y', 'n']
|
- name: Debug
|
||||||
|
debug: on
|
||||||
|
dev: off
|
||||||
|
slug: -Debug
|
||||||
|
- name: Dev
|
||||||
|
debug: on
|
||||||
|
dev: on
|
||||||
|
slug: -Dev
|
||||||
|
dynarec:
|
||||||
|
- name: ODR
|
||||||
|
new: off
|
||||||
|
slug: -ODR
|
||||||
|
- name: NDR
|
||||||
|
new: on
|
||||||
|
slug: -NDR
|
||||||
environment:
|
environment:
|
||||||
- msystem: MINGW32
|
- msystem: MINGW32
|
||||||
prefix: mingw-w64-i686
|
prefix: mingw-w64-i686
|
||||||
@@ -54,5 +68,9 @@ jobs:
|
|||||||
${{ matrix.environment.prefix }}-rtmidi
|
${{ matrix.environment.prefix }}-rtmidi
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: make
|
- name: make
|
||||||
run: make -fwin/makefile.mingw -j DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }} X64=${{ matrix.environment.x64 }} VNC=n
|
run: make -fwin/makefile.mingw -j DEV_BUILD=${{ matrix.build-type.dev }} DEBUG=${{ matrix.build-type.debug }} NEW_DYNAREC=${{ matrix.dynarec.new }} X64=${{ matrix.environment.x64 }} VNC=n
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: '86Box${{ matrix.dynarec.slug }}${{ matrix.build.slug }}-Windows-${{ matrix.environment.msystem }}-gha${{ github.run_number }}'
|
||||||
|
path: src/86Box.exe
|
||||||
|
Reference in New Issue
Block a user