Skip to content

Commit

Permalink
XXX-WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vvv committed Oct 8, 2023
1 parent 25d2bf4 commit 9f94e64
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:

jobs:
required:
if: false # XXX-DELETEME
name: ubuntu / ${{ matrix.toolchain }}
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -53,6 +54,7 @@ jobs:
working-directory: rust/

minimal:
if: false # XXX-DELETEME
name: ubuntu / stable / minimal-versions
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -88,25 +90,23 @@ jobs:
# 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
- windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install the latest stable `tshark`
# See https://launchpad.net/~wireshark-dev/+archive/ubuntu/stable
if: runner.os == 'Windows'
shell: powershell
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
Invoke-WebRequest -Uri "https://www.wireshark.org/download/win64/Wireshark-win64-4.0.10.exe" -OutFile "WiresharkInstaller.exe"
Start-Process -Wait -FilePath ".\WiresharkInstaller.exe" -ArgumentList "/S"
tshark --version
- 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/
# - 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 9f94e64

Please sign in to comment.