Skip to content

Commit

Permalink
Fix linux codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbecker committed Nov 14, 2024
1 parent 51c0b5d commit 799e71d
Showing 1 changed file with 31 additions and 22 deletions.
53 changes: 31 additions & 22 deletions .github/workflows/linux-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
ubuntu-20.04-gcc-10,
ubuntu-22.04-gcc-11,
ubuntu-22.04-gcc-12,
ubuntu-24.04-gcc-12,
ubuntu-24.04-gcc-13,
ubuntu-24.04-gcc-14,
ubuntu-20.04-clang-8,
ubuntu-20.04-clang-9,
ubuntu-20.04-clang-10,
Expand All @@ -27,8 +30,9 @@ jobs:
ubuntu-22.04-clang-13,
ubuntu-22.04-clang-14,
ubuntu-22.04-clang-15,
ubuntu-22.04-clang-16,
ubuntu-22.04-clang-17
ubuntu-24.04-clang-16,
ubuntu-24.04-clang-17,
ubuntu-24.04-clang-18
]
config: [Debug, Release]
include:
Expand All @@ -52,6 +56,21 @@ jobs:
compiler: gcc
version: 12

- name: ubuntu-24.04-gcc-12
os: ubuntu-24.04
compiler: gcc
version: 12

- name: ubuntu-24.04-gcc-13
os: ubuntu-24.04
compiler: gcc
version: 13

- name: ubuntu-24.04-gcc-14
os: ubuntu-24.04
compiler: gcc
version: 14

- name: ubuntu-20.04-clang-8
os: ubuntu-20.04
compiler: clang
Expand Down Expand Up @@ -92,40 +111,30 @@ jobs:
compiler: clang
version: 15

- name: ubuntu-22.04-clang-16
os: ubuntu-22.04
- name: ubuntu-24.04-clang-16
os: ubuntu-24.04
compiler: clang
version: 16

- name: ubuntu-22.04-clang-17
os: ubuntu-22.04
- name: ubuntu-24.04-clang-17
os: ubuntu-24.04
compiler: clang
version: 17

- name: ubuntu-24.04-clang-18
os: ubuntu-24.04
compiler: clang
version: 18

steps:
- uses: actions/checkout@v4

- name: Dependencies
run: |
if [ "${{matrix.version}}" = "15" ]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|gpg --dearmor > llvm-snapshot.gpg
sudo mv llvm-snapshot.gpg /etc/apt/trusted.gpg.d/
sudo apt-add-repository "deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main"
fi
if [ "${{matrix.version}}" = "16" ]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|gpg --dearmor > llvm-snapshot.gpg
sudo mv llvm-snapshot.gpg /etc/apt/trusted.gpg.d/
sudo apt-add-repository "deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main"
fi
if [ "${{matrix.version}}" = "17" ]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|gpg --dearmor > llvm-snapshot.gpg
sudo mv llvm-snapshot.gpg /etc/apt/trusted.gpg.d/
sudo apt-add-repository "deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
fi
sudo apt update
sudo apt install -y ninja-build
sudo apt install -y doxygen graphviz
sudo apt install -y libx11-dev
if [ "${{matrix.compiler}}" = "gcc" ]; then
sudo apt install -y g++-${{matrix.version}}
Expand Down

0 comments on commit 799e71d

Please sign in to comment.