Skip to content

Commit

Permalink
Add version dump to CI
Browse files Browse the repository at this point in the history
* Use gcc 13 (default installed on system it seems)
* Try clang 17
  • Loading branch information
vkottler committed Oct 26, 2023
1 parent a29383c commit 90c8437
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/yambs-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,20 @@ jobs:

- run: mk yaml python-lint python-sa

- run: sudo apt-get install lcov doxygen clang-15 clang-format-15
- name: setup clang 17
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh 17
rm llvm.sh
- run: sudo apt-get install gcc-13 g++-13 lcov doxygen clang-17 clang-format-17
# List versions.
- run: gcc-13 --version
- run: g++-13 --version
- run: clang-17 --version
- run: clang++-17 --version

- run: mk t variant=clang coverage=false
- run: ninja all format-check
- run: mk dist docs
Expand All @@ -55,7 +68,7 @@ jobs:
gcov: true
gcov_include: build/debug
gcov_ignore: .mypy_cache
gcov_executable: gcov-12
gcov_executable: gcov-13
fail_ci_if_error: true
verbose: true

Expand Down
8 changes: 4 additions & 4 deletions yambs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.4
# hash=cd30ca828c268bf5b3847d3052de73df
# hash=551e672939793b0a418cc5475b169746
# =====================================
---
project:
Expand All @@ -11,12 +11,12 @@ project:
version: {major: 0, minor: 2, patch: 3}
variants:
clang:
suffix: &clang_version "-15"
suffix: &clang_version "-17"

debug:
suffix: "-12"
suffix: &gcc_version "-13"
opt:
suffix: "-12"
suffix: *gcc_version

clang-opt:
suffix: *clang_version
Expand Down

0 comments on commit 90c8437

Please sign in to comment.