Skip to content

Commit 552f6ea

Browse files
authored
cmov, fiat-constify, hybrid-array, zeroize: fix CI targets and branches (#861)
- include `--target` in CI - rename `main` -> `master` & add `cmov` workflow path
1 parent 1ffdfbe commit 552f6ea

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/cmov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: cmov
33
on:
44
pull_request:
55
paths:
6+
- ".github/workflows/cmov.yml"
67
- "cmov/**"
78
- "Cargo.*"
89
push:
@@ -76,7 +77,7 @@ jobs:
7677
toolchain: ${{ matrix.rust }}
7778
targets: ${{ matrix.target }}
7879
- run: ${{ matrix.deps }}
79-
- run: cargo test
80+
- run: cargo test --target ${{ matrix.target }}
8081

8182
# Cross-compiled tests
8283
cross:

.github/workflows/fiat-constify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "fiat-constify/**"
88
- "Cargo.*"
99
push:
10-
branches: main
10+
branches: master
1111

1212
defaults:
1313
run:

.github/workflows/hybrid-array.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "hybrid-array/**"
88
- "Cargo.*"
99
push:
10-
branches: main
10+
branches: master
1111

1212
defaults:
1313
run:
@@ -41,7 +41,7 @@ jobs:
4141
minimal-versions:
4242
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
4343
with:
44-
working-directory: ${{ github.workflow }}
44+
working-directory: ${{ github.workflow }}
4545

4646
test:
4747
strategy:

.github/workflows/zeroize.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "zeroize/**"
88
- "Cargo.*"
99
push:
10-
branches: main
10+
branches: master
1111

1212
defaults:
1313
run:
@@ -43,7 +43,7 @@ jobs:
4343
minimal-versions:
4444
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
4545
with:
46-
working-directory: ${{ github.workflow }}
46+
working-directory: ${{ github.workflow }}
4747

4848
test:
4949
strategy:
@@ -94,8 +94,8 @@ jobs:
9494
# Isolate this crate from workspace which is otherwise MSRV 1.56 due to 2021 edition crates
9595
- run: rm ../Cargo.toml
9696
- run: ${{ matrix.deps }}
97-
- run: cargo test
98-
- run: cargo test --all-features
97+
- run: cargo test --target ${{ matrix.target }}
98+
- run: cargo test --target ${{ matrix.target }} --all-features
9999

100100
# Feature-gated ARM64 SIMD register support (MSRV 1.59)
101101
aarch64:

0 commit comments

Comments
 (0)