Skip to content

Commit

Permalink
fix:cicd mac openssl problem about actions/runner-images#10817
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuan520 committed Nov 14, 2024
1 parent af0a574 commit 88ec730
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
with:
submodules: true

- name: Install ubuntu build tools #这部分是安装依赖
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake
- name: Install macos build tools #这部分是安装依赖
if: matrix.os == 'macos-latest'
run: |
brew install cmake openssl
wget https://www.openssl.org/source/openssl-1.1.1w.tar.gz
tar -xvf openssl-1.1.1w.tar.gz
cd openssl-1.1.1w
./config --prefix=/usr/local/openssl
make
sudo make install
export PATH=/usr/local/openssl/bin:$PATH
- name: Run in windows
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 88ec730

Please sign in to comment.