-
Notifications
You must be signed in to change notification settings - Fork 127
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' of https://github.com/mozilla/neqo into qns-ci
- Loading branch information
Showing
125 changed files
with
391 additions
and
364 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
* @KershawChang @martinthomson @larseggert | ||
/docker/ @martinthomson | ||
/hooks/ @martinthomson | ||
/neqo-crypto/ @martinthomson | ||
/neqo-http3/ @KershawChang | ||
/neqo-qpack/ @KershawChang | ||
/qns/ @martinthomson |
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 |
---|---|---|
@@ -1,21 +1,19 @@ | ||
name: Checkout NSS and NSPR | ||
name: Fetch and build NSS | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Fetch NSS and NSPR | ||
- name: Fetch and build NSS | ||
shell: bash | ||
run: | | ||
for i in {1..$RETRIES}; do | ||
hg clone https://hg.mozilla.org/projects/nspr "$NSPR_DIR" && break || sleep $DELAY && false | ||
done | ||
for i in {1..$RETRIES}; do | ||
hg clone https://hg.mozilla.org/projects/nss "$NSS_DIR" && break || sleep $DELAY && false | ||
done | ||
git clone --depth=1 https://github.com/nss-dev/nspr "$NSPR_DIR" | ||
git clone --depth=1 https://github.com/nss-dev/nss "$NSS_DIR" | ||
$NSS_DIR/build.sh -g -Ddisable_tests=1 -o | ||
echo "NSS_DIR=$NSS_DIR" >> "$GITHUB_ENV" | ||
echo "NSPR_DIR=$NSPR_DIR" >> "$GITHUB_ENV" | ||
echo "LD_LIBRARY_PATH=$NSS_DIR/../dist/Release/lib" >> "$GITHUB_ENV" | ||
echo "DYLD_FALLBACK_LIBRARY_PATH=$NSS_DIR/../dist/Release/lib" >> "$GITHUB_ENV" | ||
echo "$NSS_DIR/../dist/Release/lib" >> "$GITHUB_PATH" | ||
env: | ||
NSS_DIR: ${{ github.workspace }}/nss | ||
NSPR_DIR: ${{ github.workspace }}/nspr | ||
RETRIES: 10 | ||
DELAY: 10 |
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 |
---|---|---|
|
@@ -20,11 +20,22 @@ runs: | |
toolchain: ${{ inputs.version }} | ||
components: ${{ inputs.components }} | ||
|
||
- name: Use sccache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install cargo-binstall (Windows) | ||
if: runner.os == 'Windows' | ||
shell: pwsh | ||
run: Set-ExecutionPolicy Unrestricted -Scope Process; iex (iwr "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.ps1").Content | ||
|
||
- name: Enable sscache | ||
- name: Install cargo-binstall (Windows) | ||
if: runner.os != 'Windows' | ||
shell: bash | ||
run: | | ||
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV" | ||
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV" | ||
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash | ||
|
||
- name: Install Rust tools | ||
shell: bash | ||
run: cargo +${{ inputs.version }} binstall --no-confirm cargo-llvm-cov cargo-nextest flamegraph cargo-hack | ||
|
||
- name: Use Rust cache | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
cache-all-crates: "true" | ||
cache-directories: "${{ github.workspace }}/dist" |
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
Oops, something went wrong.