Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates for asm_sym stabilization in 1.66 #71

Merged
merged 19 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
96 changes: 86 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,107 @@ 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: [ "ubuntu-latest", "macos-latest" ]
os: [ "macos-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

stable-test-no-support:
name: Test on DTrace-less systems
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-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
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
bnaecker marked this conversation as resolved.
Show resolved Hide resolved

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: [ "ubuntu-latest", "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
--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: [ "ubuntu-latest", "macos-latest" ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -52,7 +124,11 @@ jobs:
profile: minimal
- run: >
RUST_BACKTRACE=1
cargo test
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