Skip to content

Commit

Permalink
Install libopenssl explicitly on GitHub Actions task
Browse files Browse the repository at this point in the history
Signed-off-by: moznion <moznion@mail.moznion.net>
  • Loading branch information
moznion committed Jan 15, 2024
1 parent 30de5ed commit 319a28f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ jobs:
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
# install openssl {{{
- name: Install OpenSSL on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev
- name: Install OpenSSL on macOS
if: matrix.os == 'macOS-latest'
run: |
brew update
brew install openssl
- name: Install OpenSSL on Windows
if: matrix.os == 'windows-latest'
run: |
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
vcpkg install openssl:x64-windows-static-md
# }}}
- uses: actions/checkout@v4
- name: install clippy
run: rustup component add clippy
Expand Down

0 comments on commit 319a28f

Please sign in to comment.