Skip to content

Commit b13c718

Browse files
committed
ci: Improve performance of Github CI jobs
- Remove redundant builds - Remove obsolete test configuration with Boost 1.78 - Use Debug or Release build modes to not have to rebuild packages
1 parent 1893b91 commit b13c718

File tree

2 files changed

+12
-50
lines changed

2 files changed

+12
-50
lines changed

.github/workflows/build-cloe.yaml

+12-11
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
paths-ignore:
66
- "*.md"
77
- ".gitignore"
8-
- "Doxyfile"
98
- "LICENSE"
109
- "dist/**"
1110
- "docs/**"
@@ -16,9 +15,14 @@ jobs:
1615
runs-on: ${{ matrix.os }}
1716
strategy:
1817
matrix:
19-
os: [ubuntu-20.04, ubuntu-22.04]
20-
build_type: [RelWithDebInfo]
21-
package_target: [package]
18+
os:
19+
- "ubuntu-20.04"
20+
- "ubuntu-22.04"
21+
conan_profile:
22+
- "cloe-normal"
23+
package_target:
24+
# 1. Build each test configuration in Conan cache and run all tests
25+
- "export smoketest-deps smoketest"
2226
env:
2327
CONAN_NON_INTERACTIVE: "yes"
2428
DEBIAN_FRONTEND: noninteractive
@@ -47,12 +51,9 @@ jobs:
4751
- name: Configure Conan
4852
run: |
4953
make setup-conan
50-
- name: Build cloe w/ package
54+
conan config set general.default_profile=${{ matrix.conan_profile }}
55+
conan config set general.default_build_profile=${{ matrix.conan_profile }}
56+
make export-cli
57+
- name: Build cloe
5158
run: |
5259
make ${{ matrix.package_target }}
53-
- name: Build smoketest dependencies
54-
run: |
55-
make smoketest-deps
56-
- name: Run smoketests
57-
run: |
58-
make smoketest

tests/conanfile_with_boost_1.78.py

-39
This file was deleted.

0 commit comments

Comments
 (0)