Skip to content

Commit

Permalink
try fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau committed Oct 25, 2024
1 parent 535aa4b commit e87d6a7
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 8 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,38 @@ on: [push, pull_request]
name: tests

jobs:
test-nightly:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
tc: [nightly]
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain install ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} test --all --all-features
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
tc: [1.70.0, stable, beta, nightly]
tc: [1.70.0, stable, beta]
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain add ${{ matrix.tc }}
- run: rustup toolchain install ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} minimal-versions test --all --all-features
cross-compile:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
tc: [1.70.0]
tc: [1.70.0, stable, beta]
cc:
- aarch64-linux-android
- i686-pc-windows-gnu
Expand All @@ -35,19 +48,19 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain add ${{ matrix.tc }}
- run: rustup toolchain install ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} minimal-versions build --all --all-features --target=${{ matrix.cc }}
cross-compile-ios:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
tc: [1.70.0]
tc: [1.70.0, stable, beta]
cc: [aarch64-apple-ios]
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain add ${{ matrix.tc }}
- run: rustup toolchain install ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} minimal-versions build --all --all-features --target=${{ matrix.cc }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/target
/Cargo.lock
56 changes: 56 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ readme = "README.md"
rust-version = "1.70"

[dependencies]
traitful = "0.3"
traitful = "0.3.0"

0 comments on commit e87d6a7

Please sign in to comment.