-
Notifications
You must be signed in to change notification settings - Fork 10
CI bump #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rbx
wants to merge
13
commits into
master
Choose a base branch
from
ci-reroll
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
CI bump #119
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ea8b2a4
CI bump
rbx 8a8cb0e
Bump docker build push action to v6
rbx 73a0b84
CI bump
rbx 26ab232
Bump versions
rbx 8d4a72d
upload logs on failure
rbx 3b07b1d
test
rbx aa20cdf
update the images
rbx 72f73c6
ci: bump DDS version
rbx 3dd4d8f
ci: do not push images on PRs
rbx 2c77546
ci: consolidate Dockerfiles into single parameterized Dockerfile.fedora
rbx 32831d3
ci: install boost from dnf by default, build from source only for boo…
rbx 856cb72
artifacts
rbx 8686bc1
fix: guard mRuntimeCollectionIndex lookup in test fixture
rbx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
|
|
||
| env: | ||
| IMAGE_PREFIX: ghcr.io/fairrootgroup/odc-ci | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| packages: read | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - fedora: fedora39 | ||
| label: fedora-39-x86_64-gcc-13 | ||
| - fedora: fedora40 | ||
| label: fedora-40-x86_64-gcc-14 | ||
| - fedora: fedora41 | ||
| label: fedora-41-x86_64-gcc-14 | ||
| - fedora: fedora42 | ||
| label: fedora-42-x86_64-gcc-15 | ||
| - fedora: fedora42-boost190 | ||
| label: fedora-42-x86_64-gcc-15-boost-1.90 | ||
| - fedora: fedora42 | ||
| label: sanitizers | ||
| extra: -DENABLE_SANITIZERS=ON | ||
|
|
||
| container: | ||
| image: ${{ format('{0}:{1}', 'ghcr.io/fairrootgroup/odc-ci', matrix.fedora) }} | ||
| credentials: | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Build and test | ||
| env: | ||
| LABEL: ${{ matrix.label }} | ||
| run: ctest -S ODCTest.cmake -VV --output-on-failure ${{ matrix.extra }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| name: Docker Images | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'utils/ci/Dockerfile.*' | ||
| workflow_dispatch: | ||
|
|
||
| env: | ||
| REGISTRY: ghcr.io | ||
| IMAGE_PREFIX: ghcr.io/fairrootgroup/odc-ci | ||
|
|
||
| jobs: | ||
| build-and-push: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - fedora: fedora39 | ||
| - fedora: fedora40 | ||
| - fedora: fedora41 | ||
| - fedora: fedora42 | ||
| - fedora: fedora42-boost190 | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ${{ env.REGISTRY }} | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Build and push | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: utils/ci | ||
| file: utils/ci/Dockerfile.${{ matrix.fedora }} | ||
| push: true | ||
| tags: ${{ env.IMAGE_PREFIX }}:${{ matrix.fedora }} | ||
| cache-from: type=registry,ref=${{ env.IMAGE_PREFIX }}:${{ matrix.fedora }}-cache | ||
| cache-to: type=registry,ref=${{ env.IMAGE_PREFIX }}:${{ matrix.fedora }}-cache,mode=max | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| FROM fedora:40 | ||
|
|
||
| RUN dnf -y update && \ | ||
| dnf -y install abseil-cpp-devel \ | ||
| asio-devel \ | ||
| boost-devel \ | ||
| ca-certificates \ | ||
| clang-tools-extra \ | ||
| cmake \ | ||
| flatbuffers-devel \ | ||
| flatbuffers-compiler \ | ||
| fmt-devel \ | ||
| gcc-c++ \ | ||
| git \ | ||
| grpc-devel \ | ||
| grpc-plugins \ | ||
| libasan \ | ||
| liblsan \ | ||
| libubsan \ | ||
| libxml2 \ | ||
| ninja-build \ | ||
| patch \ | ||
| wget \ | ||
| zeromq-devel && \ | ||
| dnf -y clean all | ||
|
|
||
| RUN git clone https://github.com/FairRootGroup/FairCMakeModules && \ | ||
| cmake -GNinja -S FairCMakeModules -B FairCMakeModules_build -DCMAKE_INSTALL_PREFIX=/usr && \ | ||
| cmake --build FairCMakeModules_build --target install && \ | ||
| rm -rf FairCMakeModules FairCMakeModules_build | ||
|
|
||
| RUN git clone -b v2.3.1 https://github.com/FairRootGroup/FairLogger && \ | ||
| cmake -GNinja -S FairLogger -B FairLogger_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairLogger_build --target install && \ | ||
| rm -rf FairLogger FairLogger_build | ||
|
|
||
| RUN git clone -b v1.10.1 https://github.com/FairRootGroup/FairMQ && \ | ||
| cmake -GNinja -S FairMQ -B FairMQ_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairMQ_build --target install && \ | ||
| rm -rf FairMQ FairMQ_build | ||
|
|
||
| RUN git clone -b 3.16 https://github.com/FairRootGroup/DDS && \ | ||
| cmake -GNinja -S DDS -B DDS_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_dds-tutorials=OFF && \ | ||
| cmake --build DDS_build --target wn_bin && \ | ||
| cmake --build DDS_build --target install && \ | ||
| rm -rf DDS DDS_build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| FROM fedora:41 | ||
|
|
||
| RUN dnf -y update && \ | ||
| dnf -y install abseil-cpp-devel \ | ||
| asio-devel \ | ||
| boost-devel \ | ||
| ca-certificates \ | ||
| clang-tools-extra \ | ||
| cmake \ | ||
| flatbuffers-devel \ | ||
| flatbuffers-compiler \ | ||
| fmt-devel \ | ||
| gcc-c++ \ | ||
| git \ | ||
| grpc-devel \ | ||
| grpc-plugins \ | ||
| libasan \ | ||
| liblsan \ | ||
| libubsan \ | ||
| libxml2 \ | ||
| ninja-build \ | ||
| patch \ | ||
| wget \ | ||
| zeromq-devel && \ | ||
| dnf -y clean all | ||
|
|
||
| RUN git clone https://github.com/FairRootGroup/FairCMakeModules && \ | ||
| cmake -GNinja -S FairCMakeModules -B FairCMakeModules_build -DCMAKE_INSTALL_PREFIX=/usr && \ | ||
| cmake --build FairCMakeModules_build --target install && \ | ||
| rm -rf FairCMakeModules FairCMakeModules_build | ||
|
|
||
| RUN git clone -b v2.3.1 https://github.com/FairRootGroup/FairLogger && \ | ||
| cmake -GNinja -S FairLogger -B FairLogger_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairLogger_build --target install && \ | ||
| rm -rf FairLogger FairLogger_build | ||
|
|
||
| RUN git clone -b v1.10.1 https://github.com/FairRootGroup/FairMQ && \ | ||
| cmake -GNinja -S FairMQ -B FairMQ_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairMQ_build --target install && \ | ||
| rm -rf FairMQ FairMQ_build | ||
|
|
||
| RUN git clone -b 3.16 https://github.com/FairRootGroup/DDS && \ | ||
| cmake -GNinja -S DDS -B DDS_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_dds-tutorials=OFF && \ | ||
| cmake --build DDS_build --target wn_bin && \ | ||
| cmake --build DDS_build --target install && \ | ||
| rm -rf DDS DDS_build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| FROM fedora:42 | ||
|
|
||
| RUN dnf -y update && \ | ||
| dnf -y install abseil-cpp-devel \ | ||
| asio-devel \ | ||
| boost-devel \ | ||
| ca-certificates \ | ||
| clang-tools-extra \ | ||
| cmake \ | ||
| flatbuffers-devel \ | ||
| flatbuffers-compiler \ | ||
| fmt-devel \ | ||
| gcc-c++ \ | ||
| git \ | ||
| grpc-devel \ | ||
| grpc-plugins \ | ||
| libasan \ | ||
| liblsan \ | ||
| libubsan \ | ||
| libxml2 \ | ||
| ninja-build \ | ||
| patch \ | ||
| wget \ | ||
| zeromq-devel && \ | ||
| dnf -y clean all | ||
|
|
||
| RUN git clone https://github.com/FairRootGroup/FairCMakeModules && \ | ||
| cmake -GNinja -S FairCMakeModules -B FairCMakeModules_build -DCMAKE_INSTALL_PREFIX=/usr && \ | ||
| cmake --build FairCMakeModules_build --target install && \ | ||
| rm -rf FairCMakeModules FairCMakeModules_build | ||
|
|
||
| RUN git clone -b v2.3.1 https://github.com/FairRootGroup/FairLogger && \ | ||
| cmake -GNinja -S FairLogger -B FairLogger_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairLogger_build --target install && \ | ||
| rm -rf FairLogger FairLogger_build | ||
|
|
||
| RUN git clone -b v1.10.1 https://github.com/FairRootGroup/FairMQ && \ | ||
| cmake -GNinja -S FairMQ -B FairMQ_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairMQ_build --target install && \ | ||
| rm -rf FairMQ FairMQ_build | ||
|
|
||
| RUN git clone -b 3.16 https://github.com/FairRootGroup/DDS && \ | ||
| cmake -GNinja -S DDS -B DDS_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_dds-tutorials=OFF && \ | ||
| cmake --build DDS_build --target wn_bin && \ | ||
| cmake --build DDS_build --target install && \ | ||
| rm -rf DDS DDS_build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| FROM fedora:42 | ||
|
|
||
| RUN dnf -y update && \ | ||
| dnf -y install abseil-cpp-devel \ | ||
| asio-devel \ | ||
| ca-certificates \ | ||
| clang-tools-extra \ | ||
| cmake \ | ||
| flatbuffers-devel \ | ||
| flatbuffers-compiler \ | ||
| fmt-devel \ | ||
| gcc-c++ \ | ||
| git \ | ||
| grpc-devel \ | ||
| grpc-plugins \ | ||
| libasan \ | ||
| liblsan \ | ||
| libubsan \ | ||
| libxml2 \ | ||
| ninja-build \ | ||
| patch \ | ||
| wget \ | ||
| zeromq-devel && \ | ||
| dnf -y clean all | ||
|
|
||
| RUN dnf -y remove 'boost-devel' && dnf -y clean all | ||
|
|
||
| RUN wget https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.gz && \ | ||
| tar xzf boost_1_90_0.tar.gz && \ | ||
| cd boost_1_90_0 && \ | ||
| ./bootstrap.sh --prefix=/usr && \ | ||
| ./b2 install -j$(nproc) --without-python --without-mpi && \ | ||
| cd .. && rm -rf boost_1_90_0 boost_1_90_0.tar.gz | ||
|
|
||
| RUN git clone https://github.com/FairRootGroup/FairCMakeModules && \ | ||
| cmake -GNinja -S FairCMakeModules -B FairCMakeModules_build -DCMAKE_INSTALL_PREFIX=/usr && \ | ||
| cmake --build FairCMakeModules_build --target install && \ | ||
| rm -rf FairCMakeModules FairCMakeModules_build | ||
|
|
||
| RUN git clone -b v2.3.1 https://github.com/FairRootGroup/FairLogger && \ | ||
| cmake -GNinja -S FairLogger -B FairLogger_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairLogger_build --target install && \ | ||
| rm -rf FairLogger FairLogger_build | ||
|
|
||
| RUN git clone -b v1.10.1 https://github.com/FairRootGroup/FairMQ && \ | ||
| cmake -GNinja -S FairMQ -B FairMQ_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ | ||
| cmake --build FairMQ_build --target install && \ | ||
| rm -rf FairMQ FairMQ_build | ||
|
|
||
| RUN git clone -b 3.16 https://github.com/FairRootGroup/DDS && \ | ||
| cmake -GNinja -S DDS -B DDS_build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_dds-tutorials=OFF && \ | ||
| cmake --build DDS_build --target wn_bin && \ | ||
| cmake --build DDS_build --target install && \ | ||
| rm -rf DDS DDS_build |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.