From 5b37f0a70779e1d141bada88212bf36a53194f4f Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 10:40:08 +0200
Subject: [PATCH 1/8] Try the latest version of CMake for Github actions:
 3.24.0

---
 .github/workflows/skyr-url-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index 63634d05..dd46677e 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -4,7 +4,7 @@ name: skyr-url CI
 on: [ push, pull_request ]
 
 env:
-  CMAKE_VERSION: 3.17.3
+  CMAKE_VERSION: 3.24.0
   NINJA_VERSION: 1.11.0
 
 jobs:

From c2c8e282f09229a52ed025b2d55737570d3d49a1 Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 13:01:43 +0200
Subject: [PATCH 2/8] Try another version of CMake for Github actions: 3.18.0

---
 .github/workflows/skyr-url-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index dd46677e..bd705079 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -4,7 +4,7 @@ name: skyr-url CI
 on: [ push, pull_request ]
 
 env:
-  CMAKE_VERSION: 3.24.0
+  CMAKE_VERSION: 3.18.6
   NINJA_VERSION: 1.11.0
 
 jobs:

From 4abd4718f463441b6ebd571482527ee317547d6a Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 13:32:07 +0200
Subject: [PATCH 3/8] Try another version of CMake for Github actions: 3.19

---
 .github/workflows/skyr-url-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index bd705079..31084ddb 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -4,7 +4,7 @@ name: skyr-url CI
 on: [ push, pull_request ]
 
 env:
-  CMAKE_VERSION: 3.18.6
+  CMAKE_VERSION: 3.19.8
   NINJA_VERSION: 1.11.0
 
 jobs:

From d505382bc03d881dd0423fdbd63fda3610bb9bb0 Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 14:25:54 +0200
Subject: [PATCH 4/8] Try another version of CMake for Github actions: 3.19

---
 .github/workflows/skyr-url-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index 31084ddb..ba6834d8 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -439,6 +439,7 @@ jobs:
               -D CMAKE_TOOLCHAIN_FILE=$ENV{GITHUB_WORKSPACE}/vcpkg/scripts/buildsystems/vcpkg.cmake
               -D CMAKE_INSTALL_PREFIX=$ENV{GITHUB_WORKSPACE}/install
             RESULT_VARIABLE result
+            ECHO_ERROR_VARIABLE
           )
           if (NOT result EQUAL 0)
             message(FATAL_ERROR "Bad exit status")

From 5852a4bb5f696d4f8e5ec6e622ba1eb89e51a0e6 Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 14:55:57 +0200
Subject: [PATCH 5/8] Revert "Try another version of CMake for Github actions:
 3.19"

This reverts commit d505382bc03d881dd0423fdbd63fda3610bb9bb0.
---
 .github/workflows/skyr-url-ci.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index ba6834d8..31084ddb 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -439,7 +439,6 @@ jobs:
               -D CMAKE_TOOLCHAIN_FILE=$ENV{GITHUB_WORKSPACE}/vcpkg/scripts/buildsystems/vcpkg.cmake
               -D CMAKE_INSTALL_PREFIX=$ENV{GITHUB_WORKSPACE}/install
             RESULT_VARIABLE result
-            ECHO_ERROR_VARIABLE
           )
           if (NOT result EQUAL 0)
             message(FATAL_ERROR "Bad exit status")

From bbdc2d0d430ad52bbafd0e3cdf485060c142fe3e Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 14:56:03 +0200
Subject: [PATCH 6/8] Revert "Try another version of CMake for Github actions:
 3.19"

This reverts commit 4abd4718f463441b6ebd571482527ee317547d6a.
---
 .github/workflows/skyr-url-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index 31084ddb..bd705079 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -4,7 +4,7 @@ name: skyr-url CI
 on: [ push, pull_request ]
 
 env:
-  CMAKE_VERSION: 3.19.8
+  CMAKE_VERSION: 3.18.6
   NINJA_VERSION: 1.11.0
 
 jobs:

From 8ddbf344af30806736f5b30556c4f27021acbbef Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 16:03:57 +0200
Subject: [PATCH 7/8] Added GCC 12 support in Gitlab Actions

---
 .github/workflows/skyr-url-ci.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index bd705079..12c328b2 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -61,6 +61,22 @@ jobs:
             cxx_standard: 20,
           }
 
+          # GCC-12
+          - {
+            name: "Linux GCC 12 Debug (C++20)", artifact: "Linux.tar.xz",
+            os: ubuntu-latest,
+            build_type: Debug,
+            cc: "gcc-12", cxx: "g++-12",
+            cxx_standard: 20,
+          }
+          - {
+            name: "Linux GCC 12 Release (C++20)", artifact: "Linux.tar.xz",
+            os: ubuntu-latest,
+            build_type: RelWithDebInfo,
+            cc: "gcc-12", cxx: "g++-12",
+            cxx_standard: 20,
+          }
+
           # Clang-10
           - {
             name: "Linux Clang 10 Debug (C++20)", artifact: "Linux.tar.xz",

From 19eb9515681b48b3bae0126a82ee6269fd6bbde3 Mon Sep 17 00:00:00 2001
From: Glyn Matthews <glyn.matthews@gmail.com>
Date: Sat, 6 Aug 2022 16:20:03 +0200
Subject: [PATCH 8/8] Don't try GCC 12 yet

---
 .github/workflows/skyr-url-ci.yml | 46 +++++++++++++++----------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/.github/workflows/skyr-url-ci.yml b/.github/workflows/skyr-url-ci.yml
index 12c328b2..6c3ac01a 100644
--- a/.github/workflows/skyr-url-ci.yml
+++ b/.github/workflows/skyr-url-ci.yml
@@ -61,21 +61,21 @@ jobs:
             cxx_standard: 20,
           }
 
-          # GCC-12
-          - {
-            name: "Linux GCC 12 Debug (C++20)", artifact: "Linux.tar.xz",
-            os: ubuntu-latest,
-            build_type: Debug,
-            cc: "gcc-12", cxx: "g++-12",
-            cxx_standard: 20,
-          }
-          - {
-            name: "Linux GCC 12 Release (C++20)", artifact: "Linux.tar.xz",
-            os: ubuntu-latest,
-            build_type: RelWithDebInfo,
-            cc: "gcc-12", cxx: "g++-12",
-            cxx_standard: 20,
-          }
+#          # GCC-12
+#          - {
+#            name: "Linux GCC 12 Debug (C++20)", artifact: "Linux.tar.xz",
+#            os: ubuntu-latest,
+#            build_type: Debug,
+#            cc: "gcc-12", cxx: "g++-12",
+#            cxx_standard: 20,
+#          }
+#          - {
+#            name: "Linux GCC 12 Release (C++20)", artifact: "Linux.tar.xz",
+#            os: ubuntu-latest,
+#            build_type: RelWithDebInfo,
+#            cc: "gcc-12", cxx: "g++-12",
+#            cxx_standard: 20,
+#          }
 
           # Clang-10
           - {
@@ -294,14 +294,14 @@ jobs:
           sudo apt-get update
           sudo apt-get -y install g++-11
 
-      - name: Install GCC 12
-        id: install_gcc_12
-        if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
-        shell: bash
-        working-directory: ${{ env.HOME }}
-        run: |
-          sudo apt-get update
-          sudo apt-get -y install g++-12
+#      - name: Install GCC 12
+#        id: install_gcc_12
+#        if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
+#        shell: bash
+#        working-directory: ${{ env.HOME }}
+#        run: |
+#          sudo apt-get update
+#          sudo apt-get -y install g++-12
 
       - name: Install Clang 8
         id: install_clang_8
