Skip to content

Commit

Permalink
ci: Improve performance of Github CI jobs
Browse files Browse the repository at this point in the history
- Remove redundant builds
- Remove obsolete test configuration with Boost 1.78
- Use Debug or Release build modes to not have to rebuild packages
  • Loading branch information
cassava committed Dec 8, 2023
1 parent 1893b91 commit b13c718
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 50 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build-cloe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
paths-ignore:
- "*.md"
- ".gitignore"
- "Doxyfile"
- "LICENSE"
- "dist/**"
- "docs/**"
Expand All @@ -16,9 +15,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
build_type: [RelWithDebInfo]
package_target: [package]
os:
- "ubuntu-20.04"
- "ubuntu-22.04"
conan_profile:
- "cloe-normal"
package_target:
# 1. Build each test configuration in Conan cache and run all tests
- "export smoketest-deps smoketest"
env:
CONAN_NON_INTERACTIVE: "yes"
DEBIAN_FRONTEND: noninteractive
Expand Down Expand Up @@ -47,12 +51,9 @@ jobs:
- name: Configure Conan
run: |
make setup-conan
- name: Build cloe w/ package
conan config set general.default_profile=${{ matrix.conan_profile }}
conan config set general.default_build_profile=${{ matrix.conan_profile }}
make export-cli
- name: Build cloe
run: |
make ${{ matrix.package_target }}
- name: Build smoketest dependencies
run: |
make smoketest-deps
- name: Run smoketests
run: |
make smoketest
39 changes: 0 additions & 39 deletions tests/conanfile_with_boost_1.78.py

This file was deleted.

0 comments on commit b13c718

Please sign in to comment.