Skip to content

Commit

Permalink
remove macos and windows check
Browse files Browse the repository at this point in the history
  • Loading branch information
connortsui20 committed Jan 9, 2025
1 parent 904b1e3 commit 3b20935
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}
# Don't need a semver check since this is not a public library on crates.io.
# # Don't need a semver check since this is not a public library on crates.io.
# semver:
# runs-on: ubuntu-latest
# name: semver
Expand Down
52 changes: 27 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,31 +84,33 @@ jobs:
run: cargo +nightly update -Zminimal-versions
- name: cargo test
run: cargo test --locked --all-features --all-targets
os-check:
# run cargo test on mac and windows
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / stable
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
# if your project needs OpenSSL, uncomment this to fix Windows builds.
# it's commented out by default as the install command takes 5-10m.
# - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
# if: runner.os == 'Windows'
# - run: vcpkg install openssl:x64-windows-static-md
# if: runner.os == 'Windows'
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: cargo test
run: cargo test --locked --all-features --all-targets
# # This project only works on Linux.
# os-check:
# # run cargo test on mac and windows
# runs-on: ${{ matrix.os }}
# name: ${{ matrix.os }} / stable
# strategy:
# fail-fast: false
# matrix:
# os: [macos-latest, windows-latest]
# steps:
# # if your project needs OpenSSL, uncomment this to fix Windows builds.
# # it's commented out by default as the install command takes 5-10m.
# # - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
# # if: runner.os == 'Windows'
# # - run: vcpkg install openssl:x64-windows-static-md
# # if: runner.os == 'Windows'
# - uses: actions/checkout@v4
# with:
# submodules: true
# - name: Install stable
# uses: dtolnay/rust-toolchain@stable
# - name: cargo generate-lockfile
# if: hashFiles('Cargo.lock') == ''
# run: cargo generate-lockfile
# - name: cargo test
# run: cargo test --locked --all-features --all-targets
# # No code coverage for this project.
# coverage:
# # use llvm-cov to build and collect coverage and outputs in a format that
# # is compatible with codecov.io
Expand Down

0 comments on commit 3b20935

Please sign in to comment.