mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-15 23:42:20 +00:00
Make MacOS great again (#3178)
* Make MacOS great again * Update cmake.yml
This commit is contained in:
parent
a5b9c9160d
commit
b1fdc0eb8a
27
.github/workflows/cmake.yml
vendored
27
.github/workflows/cmake.yml
vendored
@ -8,7 +8,7 @@ env:
|
|||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: RelWithDebInfo
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
Ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -60,3 +60,28 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# path: ./build_artifact.7z
|
# path: ./build_artifact.7z
|
||||||
# name: build_artifact.7z
|
# name: build_artifact.7z
|
||||||
|
|
||||||
|
MacOS:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Building Dependancies
|
||||||
|
run: CI/before_install.osx.sh
|
||||||
|
|
||||||
|
- name: Prime ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1
|
||||||
|
with:
|
||||||
|
key: ${{ matrix.os }}-${{ env.BUILD_TYPE }}
|
||||||
|
max-size: 1000M
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: |
|
||||||
|
rm -fr build # remove the build directory
|
||||||
|
CI/before_script.osx.sh
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
make -j $(sysctl -n hw.logicalcpu) package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user