From be1b46cc784e43cd28c5521bdcde79bd7463fb40 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Fri, 19 Aug 2022 21:00:25 +0300 Subject: [PATCH] Move strategy into job. --- .github/workflows/buildtest.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index a321898b..ac41663c 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -6,12 +6,6 @@ env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release -strategy: - matrix: - compiler: - - { CC: gcc, CXX: g++ } - - { CC: clang, CXX: clang++ } - jobs: build: # The CMake configure and build commands are platform agnostic and should work equally @@ -20,6 +14,12 @@ jobs: # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix runs-on: ubuntu-latest + strategy: + matrix: + compiler: + - { CC: gcc, CXX: g++ } + - { CC: clang, CXX: clang++ } + steps: - uses: actions/checkout@v2 -- 2.43.2