Skip to content

Commit

Permalink
fix macos 14!
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Sep 9, 2024
1 parent 87f3514 commit 836a1a0
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/check-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: get previous xcode and switch to it
run: ls -la /Applications/Xcode* && sudo xcode-select -switch /Applications/Xcode_15.2.app

- name: git config credential.helper
run: git config credential.helper
Expand All @@ -92,13 +89,10 @@ jobs:
run: |
# A workaround for "The `brew link` step did not complete successfully" error.
brew install --quiet python@3 || brew link --overwrite python@3
brew install --quiet automake autoconf berkeley-db@4 boost pkg-config miniupnpc zeromq libtool qt@5 gperf qrencode librsvg && curl -L https://raw.githubusercontent.com/vergecurrency/protobuf261/master/protobuf261.rb > protobuf261.rb && brew install protobuf261.rb
brew upgrade libevent && brew link --force libevent
# brew unlink libevent && curl -L https://raw.githubusercontent.com/vergecurrency/libevent/master/libevent.rb > libevent.rb && brew install libevent.rb
brew install --quiet automake berkeley-db@4 [email protected] miniupnpc qt@5 gperf qrencode librsvg && curl -L https://raw.githubusercontent.com/vergecurrency/protobuf261/master/protobuf261.rb > protobuf261.rb && brew install protobuf261.rb
- name: Brew link dependencies
run: brew link --force boost qt@5 berkeley-db@4 libevent
run: brew link boost@1.76 qt@5 berkeley-db@4

- name: which clang/xcode
run: clang --version
Expand All @@ -107,7 +101,7 @@ jobs:
run: ./autogen.sh

- name: configure
run: export LDFLAGS="-L/opt/homebrew/Cellar/boost/1.86.0/lib" && export CPPFLAGS="-I/opt/homebrew/Cellar/boost/1.86.0/include" && ./configure --disable-bench --disable-tests --disable-dependency-tracking --disable-werror --with-gui --bindir=`pwd`/release/bin --libdir=`pwd`/release/lib --with-openssl-dir=/opt/homebrew/Cellar/openssl@3/3.3.1 --with-libevent-dir=/opt/homebrew/Cellar/libevent/2.1.12_1 --with-boost=/opt/homebrew/Cellar/boost/1.86.0
run: ./configure --disable-bench --disable-tests --disable-dependency-tracking --disable-werror --with-gui --bindir=`pwd`/release/bin --libdir=`pwd`/release/lib

- name: make
run: make -j4
Expand All @@ -117,7 +111,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: verge-macos14.zip
name: verge-macos14
path: |
*.dmg
Expand Down

0 comments on commit 836a1a0

Please sign in to comment.