forked from pyca/cryptography
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
They appear to be unmaintained at this point: actions-rs/toolchain#216 Also for most of these we can simply use the Rust that comes with the GHA image
- Loading branch information
Showing
2 changed files
with
7 additions
and
62 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 |
---|---|---|
|
@@ -47,8 +47,6 @@ jobs: | |
- {VERSION: "3.10", TOXENV: "py310-randomorder"} | ||
# Latest commit on the master branch, as of Jul 15, 2022. | ||
- {VERSION: "3.10", TOXENV: "py310", OPENSSL: {TYPE: "boringssl", VERSION: "b6f47e88b09703e925c894ca77a5d90ee413e6b5"}} | ||
RUST: | ||
- stable | ||
name: "${{ matrix.PYTHON.TOXENV }} ${{ matrix.PYTHON.OPENSSL.TYPE }} ${{ matrix.PYTHON.OPENSSL.VERSION }} ${{ matrix.PYTHON.TOXARGS }} ${{ matrix.PYTHON.OPENSSL.CONFIG_FLAGS }}" | ||
timeout-minutes: 15 | ||
steps: | ||
|
@@ -74,12 +72,6 @@ jobs: | |
src/rust/target/ | ||
key: ${{ runner.os }}-${{ matrix.PYTHON.VERSION }}-${{ steps.setup-python.outputs.python-version }}-cargo-3-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.RUST }} | ||
override: true | ||
default: true | ||
- uses: actions/[email protected] | ||
timeout-minutes: 3 | ||
with: | ||
|
@@ -225,12 +217,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.PYTHON.VERSION }} | ||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
- uses: dtolnay/rust-toolchain@3d5c338b548e8aff8b55d96390e28fa86945e1b2 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.RUST }} | ||
override: true | ||
default: true | ||
- uses: actions/[email protected] | ||
timeout-minutes: 3 | ||
with: | ||
|
@@ -280,17 +269,11 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.PYTHON.VERSION }} | ||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
- uses: dtolnay/rust-toolchain@3d5c338b548e8aff8b55d96390e28fa86945e1b2 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.RUST }} | ||
override: true | ||
default: true | ||
components: llvm-tools-preview | ||
- uses: actions-rs/install@9da1d2adcfe5e7c16992e8242ca33a56b6d9b101 | ||
with: | ||
crate: cargo-binutils | ||
version: latest | ||
- run: cargo install cargo-binutils | ||
if: steps.cargo-cache.outputs.cache-hit != 'true' | ||
|
||
- uses: actions/[email protected] | ||
|
@@ -347,8 +330,6 @@ jobs: | |
PYTHON: | ||
- {VERSION: "3.6", TOXENV: "py36", EXTRA_CFLAGS: ""} | ||
- {VERSION: "3.10.3", TOXENV: "py310", EXTRA_CFLAGS: "-DUSE_OSRANDOM_RNG_FOR_TESTING"} | ||
RUST: | ||
- stable | ||
name: "${{ matrix.PYTHON.TOXENV }} on macOS" | ||
timeout-minutes: 15 | ||
steps: | ||
|
@@ -373,12 +354,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.PYTHON.VERSION }} | ||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.RUST }} | ||
override: true | ||
default: true | ||
|
||
- run: python -m pip install tox requests coverage[toml] | ||
|
||
|
@@ -413,13 +388,11 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
WINDOWS: | ||
- {ARCH: 'x86', WINDOWS: 'win32', RUST_TRIPLE: 'i686-pc-windows-msvc'} | ||
- {ARCH: 'x64', WINDOWS: 'win64', RUST_TRIPLE: 'x86_64-pc-windows-msvc'} | ||
- {ARCH: 'x86', WINDOWS: 'win32'} | ||
- {ARCH: 'x64', WINDOWS: 'win64'} | ||
PYTHON: | ||
- {VERSION: "3.6", TOXENV: "py36-nocoverage", CL_FLAGS: ""} | ||
- {VERSION: "3.10", TOXENV: "py310", CL_FLAGS: "/D USE_OSRANDOM_RNG_FOR_TESTING"} | ||
RUST: | ||
- stable | ||
JOB_NUMBER: [0, 1, 2] | ||
name: "${{ matrix.PYTHON.TOXENV }} on ${{ matrix.WINDOWS.WINDOWS }} (part ${{ matrix.JOB_NUMBER }})" | ||
timeout-minutes: 15 | ||
|
@@ -447,14 +420,6 @@ jobs: | |
src/rust/target/ | ||
key: ${{ runner.os }}-${{ matrix.WINDOWS.ARCH }}-${{ steps.setup-python.outputs.python-version }}-cargo-3-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.RUST }} | ||
override: true | ||
default: true | ||
target: ${{ matrix.WINDOWS.RUST_TRIPLE }} | ||
|
||
- run: python -m pip install tox requests coverage[toml] | ||
- name: Download OpenSSL | ||
run: | | ||
|
@@ -494,8 +459,6 @@ jobs: | |
- certbot | ||
- certbot-josepy | ||
- mitmproxy | ||
RUST: | ||
- stable | ||
PYTHON: | ||
- 3.9 | ||
name: "Downstream tests for ${{ matrix.DOWNSTREAM }}" | ||
|
@@ -522,12 +485,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.PYTHON }} | ||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.RUST }} | ||
override: true | ||
default: true | ||
- run: ./.github/downstream.d/${{ matrix.DOWNSTREAM }}.sh install | ||
- run: pip install . | ||
env: | ||
|
@@ -547,12 +504,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: 3.9 | ||
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
default: true | ||
- run: python -m pip install -U tox | ||
- run: tox -r -- --color=yes | ||
env: | ||
|
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