enable enc2 #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
# Dependabot branches are already built by the pull-request flow since | |
# dependabot will always open a corresponding PR. | |
push: | |
branches-ignore: | |
- dependabot/** | |
pull_request: | |
name: ci | |
jobs: | |
build_and_test: | |
name: xed-rs | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.toolchain == 'nightly' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, beta, nightly] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test | |
- run: cargo test --features enc2-m32-a32 | |
- run: cargo test --features enc2-m64-a64 | |
- run: cargo test --features dylib | |
- run: cargo test --all-features | |
# Enabling enc2 features and dylib currently results in link errors | |
# on windows. | |
if: matrix.os != 'windows-latest' |