summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-06-06 23:02:10 +0100
committerGitHub <noreply@github.com>2020-06-06 23:02:10 +0100
commit42c5d7c20e9627a4c88289e6353786a112118339 (patch)
tree8b444513b87a6556af83119dd922e208d633b5dc /.github
parent045429f5c7f31c8e91b6dff218ee82c9d807a804 (diff)
downloadlibgit2-42c5d7c20e9627a4c88289e6353786a112118339.tar.gz
Update main.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 98a353ebd..3aadee3b4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -59,15 +59,33 @@ jobs:
cc: gcc
cmake_generator: Ninja
cmake_options: -DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
- -
+ - # macOS
os: macos-latest
- -
+ pkg_config_path: /usr/local/opt/openssl/lib/pkgconfig
+ cmake_generator: Ninja
+ cmake_options: -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
+ skip_ssh_tests: true
+ - # Windows Visual Studio amd64
+ os: windows-latest
+ cmake_generator: Visual Studio 15 2017
+ cmake_options: -A Win32 -DMSVC_CRTDBG=ON -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS
+ skip_ssh_tests: true
+ skip_negotiate_tests: true
+ - # Windows Visual Studio amd64
os: windows-latest
+ cmake_generator: Visual Studio 15 2017
+ cmake_options: -A x64 -DMSVC_CRTDBG=ON -DDEPRECATE_HARD=ON
+ skip_ssh_tests: true
+ skip_negotiate_tests: true
fail-fast: false
+ # Turn matrix variables into environment variables.
env:
CC: ${{ matrix.platform.cc }}
CMAKE_GENERATOR: ${{ matrix.platform.cmake_generator }}
CMAKE_OPTIONS: ${{ matrix.platform.cmake_options }}
+ PKG_CONFIG_PATH: ${{ matrix.platform.pkg_config_path }}
+ SKIP_SSH_TESTS: ${{ matrix.platform.skip_ssh_tests }}
+ SKIP_NEGOTIATE_TESTS: ${{ matrix.platform.skip_negotiate_tests }}
name: Build
runs-on: ${{ matrix.platform.os }}
steps: