-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ci-bench-cc
Signed-off-by: Lars Eggert <[email protected]>
- Loading branch information
Showing
14 changed files
with
1,414 additions
and
1,301 deletions.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Find mutants | ||
on: | ||
pull_request: | ||
branches: ["main"] | ||
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref_name }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
incremental-mutants: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Relative diff | ||
run: git diff origin/${{ github.base_ref }}.. > pr.diff | ||
|
||
- name: Install dependencies | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
run: | | ||
sudo apt-get install -y --no-install-recommends gyp mercurial ninja-build lld | ||
echo "RUSTFLAGS=-C link-arg=-fuse-ld=lld" >> "$GITHUB_ENV" | ||
- name: Fetch and build NSS and NSPR | ||
uses: ./.github/actions/nss | ||
|
||
- name: Install Rust | ||
uses: ./.github/actions/rust | ||
with: | ||
version: stable | ||
|
||
- name: Mutants | ||
run: | | ||
# Don't fail the build if mutants fail, for now. | ||
set -o pipefail | ||
cargo mutants --test-tool=nextest --no-shuffle -j 2 -vV --in-diff pr.diff | tee results.txt || true | ||
{ | ||
echo "### Mutants" | ||
echo "See https://mutants.rs/using-results.html for more information." | ||
echo '```' | ||
cat results.txt | ||
echo '```' | ||
} > "$GITHUB_STEP_SUMMARY" | ||
- name: Archive mutants.out | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: mutants.out | ||
path: mutants.out |
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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ resolver = "2" | |
homepage = "https://github.com/mozilla/neqo/" | ||
repository = "https://github.com/mozilla/neqo/" | ||
authors = ["The Neqo Authors <[email protected]>"] | ||
version = "0.7.1" | ||
version = "0.7.2" | ||
# Keep in sync with `.rustfmt.toml` `edition`. | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
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
Oops, something went wrong.