Skip to content

Commit

Permalink
updates for asm_sym stabilization in 1.66 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl committed Dec 15, 2022
1 parent eb7bcfa commit 804f113
Show file tree
Hide file tree
Showing 51 changed files with 1,211 additions and 276 deletions.
5 changes: 2 additions & 3 deletions .github/buildomat/jobs/build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#: name = "illumos / build-and-test"
#: variety = "basic"
#: target = "helios"
#: rust_toolchain = "stable"
#: rust_toolchain = "1.66"
#: output_rules = []
#:

Expand All @@ -21,5 +21,4 @@ ptime -m cargo test \
--release \
--no-fail-fast \
--verbose \
--workspace \
--exclude compile-errors
--workspace
24 changes: 0 additions & 24 deletions .github/buildomat/jobs/check-compile-errors.sh

This file was deleted.

10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Dependabot configuration file
#

version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
138 changes: 128 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,128 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.66
components: rustfmt
- run: cargo fmt -- --check

stable-test:
name: Verify stable toolchain
name: Run all tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.66
override: true
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo test
--release
--verbose
--workspace
stable-test-no-support:
name: Test on DTrace-less systems
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest", "macos-latest" ]
os: [ "ubuntu-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.66
override: true
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo test
--release
--verbose
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
stable-test-no-op:
name: Test with probes disabled
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.66
override: true
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo test
--release
--verbose
--package
empty
--no-default-features
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
build-and-test:
name: Run all tests
runs-on: macos-latest
recent-nightly:
name: Run tests on a recent nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-12-05
override: true
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo +nightly-2022-12-05 test
--release
--verbose
--workspace
--exclude compile-errors
recent-nightly-no-support:
name: Run tests on a recent nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-12-05
override: true
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo +nightly-2022-12-05 test
--release
--verbose
--workspace
--exclude compile-errors
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
old-nightly:
name: Run tests on an older nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -52,7 +145,32 @@ jobs:
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo test
cargo +nightly-2021-11-24 test
--release
--verbose
--workspace
--exclude compile-errors
old-nightly-no-support:
name: Run tests on an older nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-11-24
override: true
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo +nightly-2021-11-24 test
--release
--verbose
--workspace
--exclude compile-errors
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
**/target
Cargo.lock
Loading

0 comments on commit 804f113

Please sign in to comment.