diff --git a/.github/workflows/check-commit.yml b/.github/workflows/check-commit.yml index d01a1ac6..9c2e906e 100644 --- a/.github/workflows/check-commit.yml +++ b/.github/workflows/check-commit.yml @@ -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 @@ -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 boost@1.76 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 @@ -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 @@ -117,7 +111,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: verge-macos14.zip + name: verge-macos14 path: | *.dmg