Skip to content

Commit

Permalink
Update macos.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Oct 10, 2024
1 parent 38426c9 commit 4a2d1bd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,25 @@ jobs:
brew install wget autoconf automake libtool [email protected] gnu-sed gettext libsodium protobuf
python3.10 -m pip install -U --user poetry==1.3.2 wheel pip
python3.10 -m pip install -U --user poetry==1.8.3 wheel pip
python3.10 -m poetry install
python3.10 -m pip install -U --user mako
brew link --force libsodium
sudo ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt
- name: Build
run: |
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:/usr/local/opt:$PATH"
export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib
export CFLAGS="-Wno-error -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-builtin-requires-header"
export CXXFLAGS="-Wno-error -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-builtin-requires-header"
python3.10 -m poetry run ./configure --disable-valgrind --disable-compat
python3.10 -m poetry run make
sudo python3.10 -m poetry run make install
#sudo python3.10 -m poetry run make install
sudo PATH="/usr/local/opt:$PATH" LIBRARY_PATH=/opt/homebrew/lib CPATH=/opt/homebrew/include make install
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4a2d1bd

Please sign in to comment.