# 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
     # 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