Skip to content

Commit

Permalink
XXX-DELETEME
Browse files Browse the repository at this point in the history
  • Loading branch information
vvv committed Oct 8, 2023
1 parent c11bf06 commit 5964565
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 134 deletions.
92 changes: 0 additions & 92 deletions .github/workflows/check.yml

This file was deleted.

53 changes: 11 additions & 42 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, beta]
toolchain: [stable]
#XXX toolchain: [stable, beta]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -32,6 +33,15 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Install the latest stable `tshark`
# See https://launchpad.net/~wireshark-dev/+archive/ubuntu/stable
run: |
sudo apt update
sudo apt -y install software-properties-common # provides `add-apt-repository`
sudo add-apt-repository --yes ppa:wireshark-dev/stable
sudo apt update
sudo apt -y install tshark
tshark --version
- run: cargo generate-lockfile
if: hashFiles('rust/Cargo.lock') == ''
# https://twitter.com/jonhoo/status/1571290371124260865
Expand All @@ -42,44 +52,3 @@ jobs:
- name: cargo test --doc
run: cargo test --locked --all-features --doc --workspace
working-directory: rust/

minimal:
name: ubuntu / stable / minimal-versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: Install nightly for -Zminimal-versions
uses: dtolnay/rust-toolchain@nightly
- run: rustup default stable
- run: cargo +nightly update -Zminimal-versions --workspace
working-directory: rust/
- run: cargo test --locked --all-features --all-targets --workspace
working-directory: rust/

os-check:
name: ${{ matrix.os }} / stable
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
# NOTE: Don't use GitHub-hosted macOS runners in a non-public repository --
# they consume CI/CD minutes like crazy; see
# https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#minute-multipliers
- windows-latest
#- macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- run: cargo generate-lockfile
if: hashFiles('rust/Cargo.lock') == ''
- name: cargo test
run: cargo test --locked --all-features --all-targets --workspace
working-directory: rust/

0 comments on commit 5964565

Please sign in to comment.