mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
ci: fix macOS runners (#8145)
This commit is contained in:
@@ -75,6 +75,9 @@ jobs:
|
|||||||
tool: cargo-nextest
|
tool: cargo-nextest
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
|
|
||||||
# Run `tokio` with stable features. This excludes testing utilities which
|
# Run `tokio` with stable features. This excludes testing utilities which
|
||||||
# can alter the runtime behavior of Tokio.
|
# can alter the runtime behavior of Tokio.
|
||||||
@@ -107,6 +110,9 @@ jobs:
|
|||||||
tool: cargo-nextest
|
tool: cargo-nextest
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
|
|
||||||
- name: test --features ${{ env.TOKIO_STABLE_FEATURES }}
|
- name: test --features ${{ env.TOKIO_STABLE_FEATURES }}
|
||||||
run: |
|
run: |
|
||||||
@@ -146,6 +152,9 @@ jobs:
|
|||||||
tool: cargo-nextest
|
tool: cargo-nextest
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
|
|
||||||
- name: test --features ${{ env.TOKIO_STABLE_FEATURES }} panic=abort
|
- name: test --features ${{ env.TOKIO_STABLE_FEATURES }} panic=abort
|
||||||
run: |
|
run: |
|
||||||
@@ -179,6 +188,9 @@ jobs:
|
|||||||
tool: cargo-hack
|
tool: cargo-hack
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
|
|
||||||
# Run integration tests for each feature
|
# Run integration tests for each feature
|
||||||
- name: test tests-integration --each-feature
|
- name: test tests-integration --each-feature
|
||||||
@@ -287,6 +299,9 @@ jobs:
|
|||||||
tool: cargo-nextest
|
tool: cargo-nextest
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
# Run `tokio` with "unstable" cfg flag.
|
# Run `tokio` with "unstable" cfg flag.
|
||||||
- name: test tokio full --cfg unstable
|
- name: test tokio full --cfg unstable
|
||||||
run: |
|
run: |
|
||||||
@@ -937,6 +952,8 @@ jobs:
|
|||||||
# relative to the `$workspace` and defaults to "target" if not explicitly given.
|
# relative to the `$workspace` and defaults to "target" if not explicitly given.
|
||||||
# default: ". -> target"
|
# default: ". -> target"
|
||||||
workspaces: "./hyper"
|
workspaces: "./hyper"
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
|
|
||||||
- name: Test hyper
|
- name: Test hyper
|
||||||
run: cargo test --features full
|
run: cargo test --features full
|
||||||
@@ -985,6 +1002,8 @@ jobs:
|
|||||||
# relative to the `$workspace` and defaults to "target" if not explicitly given.
|
# relative to the `$workspace` and defaults to "target" if not explicitly given.
|
||||||
# default: ". -> target"
|
# default: ". -> target"
|
||||||
workspaces: "./quinn"
|
workspaces: "./quinn"
|
||||||
|
# FIXME: temporary workaround, see: https://github.com/Swatinem/rust-cache/issues/341
|
||||||
|
cache-bin: ${{ matrix.os != 'macos-latest' }}
|
||||||
|
|
||||||
- name: Test Quinn
|
- name: Test Quinn
|
||||||
working-directory: quinn
|
working-directory: quinn
|
||||||
|
|||||||
Reference in New Issue
Block a user