]> xenbits.xensource.com Git - people/aperard/xtf.git/commitdiff
CI: Refresh github actions
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 27 Dec 2022 19:39:15 +0000 (19:39 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 27 Dec 2022 19:39:15 +0000 (19:39 +0000)
Use a fixed container version when when specific compiler versions are
referenced.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
.github/workflows/build.yml
.github/workflows/codeql.yml
.github/workflows/scan-build.yml

index b0c84e4333ba3d1bad133f67203e98699627ff76..51216055a2051ee11b0adccb401193d76f6b06cf 100644 (file)
@@ -8,26 +8,26 @@ jobs:
     strategy:
       matrix:
         arch: [x86]
-        compiler: [llvm-9, llvm-10, llvm-11]
+        compiler: [llvm-12, llvm-13, llvm-14]
 
         include:
-          - arch: x86
-            compiler: gcc-7
-          - arch: x86
-            compiler: gcc-8
           - arch: x86
             compiler: gcc-9
           - arch: x86
             compiler: gcc-10
+          - arch: x86
+            compiler: gcc-11
+          - arch: x86
+            compiler: gcc-12
 
           - arch: x86
-            compiler: clang-9
+            compiler: clang-12
           - arch: x86
-            compiler: clang-10
+            compiler: clang-13
           - arch: x86
-            compiler: clang-11
+            compiler: clang-14
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
 
     steps:
     - name: Install
@@ -42,7 +42,7 @@ jobs:
         sudo apt-get update -q
         sudo apt-get install -y build-essential python3 ${{matrix.compiler}} ${EXTRA}
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: Build
       run: |
index c9f66fcf279bce7eae35881f74dff639bd27ab8c..7f1c4b0f4c7047b7452ac2268b8c7ed1044c751a 100644 (file)
@@ -16,13 +16,13 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
-    - uses: github/codeql-action/init@v1
+    - uses: github/codeql-action/init@v2
       with:
         languages: ${{matrix.lang}}
         queries: security-and-quality
 
-    - uses: github/codeql-action/autobuild@v1
+    - uses: github/codeql-action/autobuild@v2
 
-    - uses: github/codeql-action/analyze@v1
+    - uses: github/codeql-action/analyze@v2
index f843794574057253fec468085fb5d2105c724e57..f91cde0875e2fbf03d5fb6044c43bb4d84965896 100644 (file)
@@ -5,16 +5,16 @@ on: [push, pull_request]
 jobs:
   scan-build:
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
 
     steps:
     - name: Install
       run: |
         sudo apt-get update -q
-        sudo apt-get install clang-tools-11
+        sudo apt-get install clang-tools-14
 
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: Scan-build
       run: |
-        scan-build-11 --status-bugs -analyze-headers make -j`nproc`
+        scan-build-14 --status-bugs -analyze-headers make -j`nproc`