Repository navigation
Exécuter le job desktop Linux dans une image d'outils préconstruite #387
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6eadd3d
Run the Linux desktop CI job in a prebuilt toolchain image
ambroise-leclerc 84e8306
Keep Windows and macOS independent of the image job and fix workspace…
ambroise-leclerc b0abb22
Add make, a default compiler and a git safe directory to the CI image
ambroise-leclerc bdd63ef
Merge remote-tracking branch 'origin/develop' into ci-linux-toolchain…
ambroise-leclerc 4fb53b9
Resolve a relative build directory in the CTest suite runner
ambroise-leclerc de6f14c
Install the fast JSON parser lcov recommends in the CI image
ambroise-leclerc 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,26 @@ | ||
| # Toolchain of the Linux desktop CI job (GCC 16, WebKitGTK, lcov, Xvfb), prebuilt so that a job downloads one image from | ||
| # ghcr.io instead of dozens of packages from an Ubuntu mirror. BuildAndTest.yml tags it with the hash of this file: | ||
| # changing the file (for example to refresh the packages) is what rebuilds it. CMake is not part of it: the | ||
| # setup-cmake action installs an exact, checksummed release. | ||
| FROM ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 | ||
|
|
||
| LABEL org.opencontainers.image.source="https://github.com/ambroise-leclerc/WebFront" | ||
| LABEL org.opencontainers.image.description="WebFront CI: GCC 16, WebKitGTK 6, lcov and Xvfb on Ubuntu 26.04" | ||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
|
|
||
| # sudo: the composite actions of the repository call it, as they do on a hosted runner. build-essential: the CTest | ||
| # fixtures configure sub-projects with CMake's default generator and compiler, which a hosted runner also provides. | ||
| # libjson-xs-perl: a recommendation of lcov, which falls back to a pure-Perl parser about eight times slower without it. | ||
| RUN apt-get update \ | ||
| && apt-get install -y --no-install-recommends -o Acquire::Retries=3 \ | ||
| ca-certificates curl git sudo tar xz-utils build-essential \ | ||
| ninja-build pkg-config python3 \ | ||
| gcc-16 g++-16 libwebkitgtk-6.0-dev lcov libjson-xs-perl \ | ||
| xvfb xauth \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # The workspace is mounted from the host runner and owned by another user: let git (and the tests that call it) read it. | ||
| RUN git config --system --add safe.directory '*' | ||
|
|
||
| ENV CC=gcc-16 CXX=g++-16 |
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
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
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.