Add macOS artifacts
This commit is contained in:
30
.github/workflows/cmake.yml
vendored
30
.github/workflows/cmake.yml
vendored
@@ -99,7 +99,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
- name: Regular ODR
|
- name: Regular ODR
|
||||||
slug: ''
|
|
||||||
type: Release
|
type: Release
|
||||||
new-dynarec: off
|
new-dynarec: off
|
||||||
strip: --strip
|
strip: --strip
|
||||||
@@ -211,21 +210,30 @@ jobs:
|
|||||||
run: cmake --build build --target install
|
run: cmake --build build --target install
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
name: "macOS 11"
|
name: "macOS 11 (${{ matrix.build.name }} x86_64)"
|
||||||
|
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
- name: Debug
|
- name: Regular ODR
|
||||||
dev-build: off
|
type: Release
|
||||||
new-dynarec: off
|
new-dynarec: off
|
||||||
|
strip: --strip
|
||||||
|
- name: Debug ODR
|
||||||
|
slug: -Debug
|
||||||
type: Debug
|
type: Debug
|
||||||
- name: Dev
|
new-dynarec: off
|
||||||
dev-build: on
|
- name: Regular NDR
|
||||||
|
slug: -NDR
|
||||||
|
type: Release
|
||||||
|
strip: --strip
|
||||||
new-dynarec: on
|
new-dynarec: on
|
||||||
|
- name: Debug NDR
|
||||||
|
slug: -NDR-Debug
|
||||||
type: Debug
|
type: Debug
|
||||||
|
new-dynarec: on
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -234,10 +242,14 @@ jobs:
|
|||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >-
|
run: >-
|
||||||
cmake -S . -B build
|
cmake -S . -B build
|
||||||
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
--toolchain cmake/flags-gcc-x86_64.cmake
|
||||||
-D DEV_BRANCH=${{ matrix.build.dev-build }}
|
|
||||||
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
||||||
-D VNC=OFF
|
|
||||||
-D CMAKE_BUILD_TYPE=${{ matrix.build.type }}
|
-D CMAKE_BUILD_TYPE=${{ matrix.build.type }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build --target install
|
run: cmake --build build --target install
|
||||||
|
- name: Generate package
|
||||||
|
run: cmake --install build --prefix ./build/artifacts ${{ matrix.build.strip }}
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: '86Box${{ matrix.build.slug }}-macOS-x86_64-gha${{ github.run_number }}'
|
||||||
|
path: build/artifacts/**
|
||||||
|
Reference in New Issue
Block a user