workflows: add artifacts to cmake/mingw
This commit is contained in:
parent
44ccefb28a
commit
8365b7b187
28
.github/workflows/cmake.yml
vendored
28
.github/workflows/cmake.yml
vendored
@ -16,9 +16,6 @@ on:
|
|||||||
- .github/workflows/**
|
- .github/workflows/**
|
||||||
- vcpkg.json
|
- vcpkg.json
|
||||||
|
|
||||||
env:
|
|
||||||
BUILD_TYPE: RelWithDebInfo
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mingw:
|
mingw:
|
||||||
name: ${{ matrix.target-arch.msystem }} build (DEV_BUILD=${{ matrix.dev-build }}, NEW_DYNAREC=${{ matrix.new-dynarec }})
|
name: ${{ matrix.target-arch.msystem }} build (DEV_BUILD=${{ matrix.dev-build }}, NEW_DYNAREC=${{ matrix.new-dynarec }})
|
||||||
@ -30,9 +27,17 @@ jobs:
|
|||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
dev-build: ['ON', 'OFF']
|
build:
|
||||||
new-dynarec: ['ON', 'OFF']
|
- name: Debug
|
||||||
|
dev-build: off
|
||||||
|
new-dynarec: off
|
||||||
|
type: Debug
|
||||||
|
- name: Dev
|
||||||
|
dev-build: on
|
||||||
|
new-dynarec: on
|
||||||
|
type: Debug
|
||||||
target-arch:
|
target-arch:
|
||||||
- msystem: MINGW32
|
- msystem: MINGW32
|
||||||
prefix: mingw-w64-i686
|
prefix: mingw-w64-i686
|
||||||
@ -58,12 +63,17 @@ jobs:
|
|||||||
run: >-
|
run: >-
|
||||||
cmake -S . -B build
|
cmake -S . -B build
|
||||||
-G "MSYS Makefiles"
|
-G "MSYS Makefiles"
|
||||||
-D CMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
|
-D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/build/artifacts
|
||||||
-D DEV_BRANCH=${{ matrix.dev-build }}
|
-D CMAKE_BUILD_TYPE=${{ env.build.type }}
|
||||||
-D NEW_DYNAREC=${{ matrix.new-dynarec }}
|
-D DEV_BRANCH=${{ matrix.build.dev-build }}
|
||||||
|
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
||||||
-D VNC=OFF
|
-D VNC=OFF
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build
|
run: cmake --build build --target install
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: '86Box-${{ matrix.target-arch.msystem }}-${{ matrix.build.name }}-${{ matrix.target-arch }}-${{ github.sha }}'
|
||||||
|
path: build/artifacts/bin/**
|
||||||
|
|
||||||
vs2019:
|
vs2019:
|
||||||
name: VS2019 ${{ matrix.build.name }} ${{ matrix.target-arch }} build (${{ matrix.toolset }})
|
name: VS2019 ${{ matrix.build.name }} ${{ matrix.target-arch }} build (${{ matrix.toolset }})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user