-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
github-ci: update Fedora 39 jobs to 41 #12342
Closed
Closed
Changes from all commits
Commits
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 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 |
---|---|---|
|
@@ -656,10 +656,10 @@ jobs: | |
- run: make clean | ||
- run: make -j ${{ env.CPUS }} | ||
|
||
fedora-39-sv-codecov: | ||
name: Fedora 39 (Suricata Verify codecov) | ||
fedora-41-sv-codecov: | ||
name: Fedora 41 (Suricata Verify codecov) | ||
runs-on: ubuntu-latest | ||
container: fedora:39 | ||
container: fedora:41 | ||
needs: [prepare-deps, prepare-cbindgen] | ||
steps: | ||
|
||
|
@@ -718,7 +718,7 @@ jobs: | |
zlib-devel | ||
# packaged Rust version has no profiler support built in, so get from rustup | ||
- name: Install Rust | ||
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.67.1 -y | ||
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.83 -y | ||
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- uses: ./.github/actions/install-cbindgen | ||
|
@@ -752,11 +752,11 @@ jobs: | |
fail_ci_if_error: false | ||
flags: suricata-verify | ||
|
||
# Fedora 39 build using Clang. | ||
fedora-39-clang: | ||
name: Fedora 39 (clang, debug, asan, wshadow, rust-strict, systemd) | ||
# Fedora 41 build using Clang. | ||
fedora-41-clang: | ||
name: Fedora 41 (clang, debug, asan, wshadow, rust-strict, systemd) | ||
runs-on: ubuntu-latest | ||
container: fedora:39 | ||
container: fedora:41 | ||
needs: [prepare-deps, prepare-cbindgen] | ||
steps: | ||
|
||
|
@@ -859,10 +859,10 @@ jobs: | |
- run: src/suricata --build-info | grep -E "Systemd support:\s+yes" &> /dev/null | ||
|
||
# Fedora 39 build using GCC. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment could be updated to |
||
fedora-39-gcc: | ||
name: Fedora 39 (gcc, debug, asan, wshadow, rust-strict) | ||
fedora-41-gcc: | ||
name: Fedora 41 (gcc, debug, asan, wshadow, rust-strict) | ||
runs-on: ubuntu-latest | ||
container: fedora:39 | ||
container: fedora:41 | ||
needs: [prepare-deps, prepare-cbindgen] | ||
steps: | ||
|
||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MSRV still tested other places, so ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah the point here was to make the coverage work. IIRC it needs the rust version to match the OS llvm version somehow. The older version failed, this works 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it would makes sense to use the system package here? The Rust RPM appears to depend on llvm-libs, where the rustup version embeds it own. Might be a way to keep them in sync. Or do that next time they are out of sync.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think rustc and the C compiler need to have the same profraw version
INSTR_PROF_RAW_VERSION
(like 9 or 10 today) you can take a look at google/oss-fuzz#12365