Skip to content

Commit

Permalink
ci: Lock MacOS to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Jan 7, 2025
1 parent 6d04239 commit 479de3e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
smoke-test:
name: Smoke Test macOS
runs-on: macos-latest
runs-on: macos-14
timeout-minutes: 120
strategy:
fail-fast: true
Expand All @@ -27,23 +27,23 @@ jobs:
- name: Install dependencies
run: |
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:$PATH"
brew install wget autoconf automake libtool [email protected] gnu-sed gettext libsodium protobuf
python3.10 -m pip install -U --user poetry wheel pip
python3.10 -m poetry install
python3.10 -m pip install -U --user mako
sudo ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt
brew install autoconf automake libtool gnu-sed
python3 --version
python3 -m venv localenv
source localenv/bin/activate
python3 -m pip install poetry wheel mako
python3 -m poetry install
# sudo ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt
- name: Build and install
run: |
export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib
python3.10 -m poetry run ./configure --disable-valgrind --disable-compat
python3.10 -m poetry run make
python3 -m poetry run ./configure --disable-valgrind --disable-compat
python3 -m poetry run make
# sudo PATH="/usr/local/opt:$PATH" LIBRARY_PATH=/opt/homebrew/lib CPATH=/opt/homebrew/include make install
Expand Down

0 comments on commit 479de3e

Please sign in to comment.