Skip to content

Commit

Permalink
Attempt getting clang installed and working first in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxDevon committed Jan 28, 2024
1 parent f3e656a commit 66b8e74
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Libdbc Tests

on: [push, pull_request]
on: [push]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand All @@ -10,22 +10,29 @@ jobs:
linux-builds:
name: ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
cxx:
- g++-13
# - g++-13
- clang++-16
build_type: [Debug, Release]
std: [11]
include:
- cxx: g++-13
other_pkgs: g++-13
# - cxx: g++-13
- cxx: clang++-16
other_pkgs: clang-16
llvm_version: 16

steps:
- uses: actions/checkout@v4

- name: Install clang
if: ${{ matrix.llvm_version }} != ""
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh ${{ matrix.llvm_version }}
- name: Prepare environment
run: |
sudo apt-get update
Expand Down

0 comments on commit 66b8e74

Please sign in to comment.