Skip to content

Commit

Permalink
cmov, fiat-constify, hybrid-array, zeroize: fix CI targets and branch…
Browse files Browse the repository at this point in the history
…es (#861)

- include `--target` in CI
- rename `main` -> `master` & add `cmov` workflow path
  • Loading branch information
brxken128 authored Mar 24, 2023
1 parent 1ffdfbe commit 552f6ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cmov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: cmov
on:
pull_request:
paths:
- ".github/workflows/cmov.yml"
- "cmov/**"
- "Cargo.*"
push:
Expand Down Expand Up @@ -76,7 +77,7 @@ jobs:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: ${{ matrix.deps }}
- run: cargo test
- run: cargo test --target ${{ matrix.target }}

# Cross-compiled tests
cross:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fiat-constify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "fiat-constify/**"
- "Cargo.*"
push:
branches: main
branches: master

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hybrid-array.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "hybrid-array/**"
- "Cargo.*"
push:
branches: main
branches: master

defaults:
run:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}
working-directory: ${{ github.workflow }}

test:
strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/zeroize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "zeroize/**"
- "Cargo.*"
push:
branches: main
branches: master

defaults:
run:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}
working-directory: ${{ github.workflow }}

test:
strategy:
Expand Down Expand Up @@ -94,8 +94,8 @@ jobs:
# Isolate this crate from workspace which is otherwise MSRV 1.56 due to 2021 edition crates
- run: rm ../Cargo.toml
- run: ${{ matrix.deps }}
- run: cargo test
- run: cargo test --all-features
- run: cargo test --target ${{ matrix.target }}
- run: cargo test --target ${{ matrix.target }} --all-features

# Feature-gated ARM64 SIMD register support (MSRV 1.59)
aarch64:
Expand Down

0 comments on commit 552f6ea

Please sign in to comment.