workflows: x64 build

This commit is contained in:
David Hrdlička 2020-12-12 20:31:00 +01:00
parent 9d6f6b38ea
commit 101e78c33b

View File

@ -14,6 +14,7 @@ on:
jobs: jobs:
build: build:
name: Build (DEV_BUILD=${{ matrix.dev-build }}, NEW_DYNAREC=${{ matrix.new-dynarec }}, X64=${{ matrix.target-arch.x64 }})
runs-on: windows-latest runs-on: windows-latest
@ -25,14 +26,29 @@ jobs:
matrix: matrix:
dev-build: ['y', 'n'] dev-build: ['y', 'n']
new-dynarec: ['y', 'n'] new-dynarec: ['y', 'n']
target-arch:
- x64: 'n'
msystem: MINGW32
prefix: mingw-w64-i686
- x64: 'y'
msystem: MINGW64
prefix: mingw-w64-x86_64
steps: steps:
- uses: msys2/setup-msys2@v2 - uses: msys2/setup-msys2@v2
with: with:
update: true update: true
msystem: MINGW32 msystem: ${{ matrix.target-arch.msystem }}
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' install: >-
make
${{ matrix.target-arch.prefix }}-toolchain
${{ matrix.target-arch.prefix }}-openal
${{ matrix.target-arch.prefix }}-freetype
${{ matrix.target-arch.prefix }}-SDL2
${{ matrix.target-arch.prefix }}-zlib
${{ matrix.target-arch.prefix }}-libpng
${{ matrix.target-arch.prefix }}-libvncserver
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: make - name: make
run: make -fwin/makefile.mingw -j DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }} VNC=n run: make -fwin/makefile.mingw -j DEV_BUILD=${{ matrix.dev-build }} NEW_DYNAREC=${{ matrix.new-dynarec }} X64=${{ matrix.target-arch.x64 }} VNC=n
working-directory: ./src working-directory: ./src