Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .github/workflows/testmac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
testmac:
name: Test on Mac
runs-on: macos-15
runs-on: macos-26-intel

steps:
- name: Use cache
Expand All @@ -26,39 +26,38 @@ jobs:
lib
include
bin
key: ${{ runner.os }}-15-${{ github.ref }}
key: ${{ runner.os }}-26-${{ github.ref }}
# Restore keys are a "list", but really only a multiline string is
# accepted. Also we match by prefix. And the most recent cache is
# used, not the most specific.
# See: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
restore-keys: |
${{ runner.os }}-15-${{ github.base_ref }}
${{ runner.os }}-15
${{ runner.os }}-26-${{ github.base_ref }}
${{ runner.os }}-26

- name: Checkout code without submodules
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 26

- name: Get or restore dependencies
run: scripts/restore-deps.sh

- name: Install packages
# We don't use artemnovichkov/action-homebrew because that's for Linux.
# We want to uninstall everything we don't need in order to prevent linking
# We uninstall everything we don't need in order to prevent linking
# conflicts with existing/outdated packages, which we can't resolve
# because there's no way to tell Homebrew to force-link when installing
# from a Brewfile. But we can't because that seesm to want to *install* OpenSSL 1.1.
# from a Brewfile.
# We also update Protobuf to make sure we have 3.21.3+
# to avoid problems with ABI changes with/without -DNDEBUG.
# And we update libomp to make extra sure it will be picked up by the compiler.
# We pre-install a pinned txm to work around https://github.com/anko/txm/issues/8
run: |
echo "Not cleaning" && \
echo Skip brew bundle cleanup --force && \
echo "Removing unlisted packages" && \
brew bundle cleanup --force && \
echo "Installing" && \
brew bundle install --verbose && \
echo "Updating" && \
Expand All @@ -67,7 +66,7 @@ jobs:
brew install --verbose protobuf && \
brew install --verbose libomp && \
brew install --verbose bwa graphviz && \
npm install -g txm@7.4.5 && \
npm install -g txm@8.2.0 && \
brew config && \
(brew doctor || echo "brew doctor is unhappy")

Expand Down
Loading