summaryrefslogtreecommitdiffstats
path: root/.github/workflows/c-cpp.yml
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-02-21 22:09:27 +0100
committerDarren Tucker <dtucker@dtucker.net>2021-02-23 01:18:49 +0100
commitffcdd3d90e74176b3bb22937ad1f65a6c1cd3f9d (patch)
tree67ced06b6eb28e251ba3581cd36ca8f7fca5cb2d /.github/workflows/c-cpp.yml
parentupstream: warn when the user specifies a ForwardAgent path that does (diff)
downloadopenssh-ffcdd3d90e74176b3bb22937ad1f65a6c1cd3f9d.tar.xz
openssh-ffcdd3d90e74176b3bb22937ad1f65a6c1cd3f9d.zip
Valgrind test: split and move up list.
Since the valgrind test takes so long it approaches the limit allowed by github, move it to the head of the list so it's the first one started and split the longest tests out into a second instance that runs concurrently with the first.
Diffstat (limited to '')
-rw-r--r--.github/workflows/c-cpp.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 5e79c0739..2279e109e 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -12,22 +12,30 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, macos-11.0]
- configs: [default, pam]
+ # First we test all OSes in the default configuration.
+ os: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04, macos-10.15, macos-11.0]
+ configs: [default]
# Then we include any extra configs we want to test for specific VMs.
+ # Valgrind slows things down quite a bit, so start them first.
include:
+ - { os: ubuntu-20.04, configs: valgrind-1 }
+ - { os: ubuntu-20.04, configs: valgrind-2 }
+ - { os: ubuntu-20.04, configs: pam }
- { os: ubuntu-20.04, configs: kitchensink }
- { os: ubuntu-20.04, configs: hardenedmalloc }
- { os: ubuntu-20.04, configs: libressl-head }
- { os: ubuntu-20.04, configs: openssl-head }
- - { os: ubuntu-20.04, configs: valgrind }
+ - { os: ubuntu-18.04, configs: pam }
- { os: ubuntu-18.04, configs: kerberos5 }
- { os: ubuntu-18.04, configs: libedit }
- { os: ubuntu-18.04, configs: sk }
- { os: ubuntu-18.04, configs: selinux }
- { os: ubuntu-18.04, configs: kitchensink }
- { os: ubuntu-18.04, configs: without-openssl }
+ - { os: ubuntu-16.04, configs: pam }
- { os: ubuntu-16.04, configs: kitchensink }
+ - { os: macos-10.15, configs: pam }
+ - { os: macos-11.0, configs: pam }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2