Skip to content

Commit 28a78a8

Browse files
authored
Add an environment without openssl to github actions (#223)
1 parent fdffef9 commit 28a78a8

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/cmake.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
buildname: 'ubuntu-20.04/gcc'
6363
triplet: x64-linux
6464
compiler: gcc_64
65-
# - os: ubuntu-16.04
66-
# buildname: 'ubuntu-16.04/gcc'
67-
# triplet: x64-linux
68-
# compiler: gcc_64
65+
- os: ubuntu-20.04
66+
buildname: 'ubuntu-20.04/gcc without openssl'
67+
triplet: x64-linux
68+
compiler: gcc_64
6969
- os: macos-latest
7070
buildname: 'macos/clang'
7171
triplet: x64-osx
@@ -84,14 +84,20 @@ jobs:
8484
brew install c-ares openssl
8585
8686
- name: (Linux) Install dependencies
87-
if: runner.os == 'Linux'
87+
if: matrix.buildname == 'ubuntu-20.04/gcc'
8888
run: |
8989
# Installing packages might fail as the github image becomes outdated
9090
sudo apt update
9191
# These aren't available or don't work well in vcpkg
9292
sudo apt install openssl libssl-dev
9393
sudo apt install dos2unix
94-
94+
- name: (Linux) Install dependencies
95+
if: matrix.buildname == 'ubuntu-20.04/gcc without openssl'
96+
run: |
97+
# Installing packages might fail as the github image becomes outdated
98+
sudo apt update
99+
# These aren't available or don't work well in vcpkg
100+
sudo apt install dos2unix
95101
- name: install gtest
96102
run: |
97103
wget https://github.com/google/googletest/archive/release-1.10.0.tar.gz

0 commit comments

Comments
 (0)