Skip to content

Commit

Permalink
Mac 11 support, beside mac 10 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-xmr committed Dec 4, 2021
1 parent 58167ef commit 85f6f07
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,16 @@ jobs:
# TODO: Add OSX build. Problem: stdfwd.hh has to be conditionally disabled for _APPLE_ (huge but simple)
# TODO: Add Windows build. Problem: EnjoLibBoost fails to compile without wstring (short but harder)


build-macos:
runs-on: macOS-latest
runs-on: ${{ matrix.os }}
env:
CCACHE_TEMPDIR: /tmp/.ccache-temp
strategy:
fail-fast: false
matrix:
#os: [macOS-latest, macOS-11] # prev
#os: [macOS-latest, macOS-10.15] # future
os: [macOS-10.15, macOS-11] # transitionary
steps:
- uses: actions/checkout@v1
with:
Expand All @@ -85,8 +90,8 @@ jobs:
uses: actions/cache@v2
with:
path: /Users/runner/Library/Caches/ccache
key: ccache03-${{ runner.os }}-build-${{ github.sha }}
restore-keys: ccache03-${{ runner.os }}-build-
key: ccache03-${{ runner.os }}-${{ matrix.os }}-build-${{ github.sha }}
restore-keys: ccache03-${{ runner.os }}-${{ matrix.os }}-build-
# Less volatile cache
- name: data cache
uses: actions/cache@v2
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ In case these instructions become outdated, please refer to the steps of the [CI

## Requirements
Supported systems:
- Debian-stable
- Ubuntu 20.04 & 21.04
- Mac OSX
- Debian stable & buster
- Ubuntu 21.04 & 20.04(!)
- Mac OSX 11(!) & 10.15(!)
- ~~Windows~~ (somewhat later)
- (!) = under CI

## Preparation
Please run the below scripts. They are meant to be non-interactive and will require root permissions (via `sudo`).
Expand Down

0 comments on commit 85f6f07

Please sign in to comment.