Skip to content

Commit 66b8e74

Browse files
committed
Attempt getting clang installed and working first in the pipeline
1 parent f3e656a commit 66b8e74

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

‎.github/workflows/pipeline.yml‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Libdbc Tests
22

3-
on: [push, pull_request]
3+
on: [push]
44

55
env:
66
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -10,22 +10,29 @@ jobs:
1010
linux-builds:
1111
name: ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
1212
runs-on: ubuntu-latest
13+
continue-on-error: true
1314
strategy:
1415
matrix:
1516
cxx:
16-
- g++-13
17+
# - g++-13
1718
- clang++-16
1819
build_type: [Debug, Release]
1920
std: [11]
2021
include:
21-
- cxx: g++-13
22-
other_pkgs: g++-13
22+
# - cxx: g++-13
2323
- cxx: clang++-16
24-
other_pkgs: clang-16
24+
llvm_version: 16
2525

2626
steps:
2727
- uses: actions/checkout@v4
2828

29+
- name: Install clang
30+
if: ${{ matrix.llvm_version }} != ""
31+
run: |
32+
wget https://apt.llvm.org/llvm.sh
33+
chmod +x llvm.sh
34+
sudo ./llvm.sh ${{ matrix.llvm_version }}
35+
2936
- name: Prepare environment
3037
run: |
3138
sudo apt-get update

0 commit comments

Comments
 (0)