Skip to content

Commit cc96d0b

Browse files
committed
Switch to GitHub Actions; MSRV 1.41+
The MSRV bump is necessary to check in a merge-friendly Cargo.lock (which is helpful for caching). We'll want to do this bump anyway soon for `generic-array` v0.14. See: <RustCrypto/traits#95>
1 parent c626f80 commit cc96d0b

File tree

10 files changed

+450
-49
lines changed

10 files changed

+450
-49
lines changed

.github/workflows/cmac.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: cmac
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "cmac/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
paths:
11+
- "cmac/**"
12+
- "Cargo.*"
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
rust:
20+
- 1.41.0 # MSRV
21+
- stable
22+
target:
23+
- thumbv7em-none-eabi
24+
- wasm32-unknown-unknown
25+
steps:
26+
- uses: actions/checkout@v1
27+
- uses: actions-rs/toolchain@v1
28+
with:
29+
profile: minimal
30+
toolchain: ${{ matrix.rust }}
31+
target: ${{ matrix.target }}
32+
override: true
33+
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
34+
working-directory: cmac
35+
test:
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
rust:
40+
- 1.41.0 # MSRV
41+
- stable
42+
steps:
43+
- uses: actions/checkout@v1
44+
- uses: actions-rs/toolchain@v1
45+
with:
46+
profile: minimal
47+
toolchain: ${{ matrix.rust }}
48+
override: true
49+
- run: cargo test --release
50+
env:
51+
CARGO_INCREMENTAL: 0
52+
RUSTFLAGS: "-Dwarnings"
53+
working-directory: cmac
54+
- run: cargo build --benches
55+
env:
56+
CARGO_INCREMENTAL: 0
57+
RUSTFLAGS: "-Dwarnings"
58+
working-directory: cmac

.github/workflows/daa.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: daa
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "daa/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
paths:
11+
- "daa/**"
12+
- "Cargo.*"
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
rust:
20+
- 1.41.0 # MSRV
21+
- stable
22+
target:
23+
- thumbv7em-none-eabi
24+
- wasm32-unknown-unknown
25+
steps:
26+
- uses: actions/checkout@v1
27+
- uses: actions-rs/toolchain@v1
28+
with:
29+
profile: minimal
30+
toolchain: ${{ matrix.rust }}
31+
target: ${{ matrix.target }}
32+
override: true
33+
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
34+
working-directory: daa
35+
test:
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
rust:
40+
- 1.41.0 # MSRV
41+
- stable
42+
steps:
43+
- uses: actions/checkout@v1
44+
- uses: actions-rs/toolchain@v1
45+
with:
46+
profile: minimal
47+
toolchain: ${{ matrix.rust }}
48+
override: true
49+
- run: cargo test --release
50+
env:
51+
CARGO_INCREMENTAL: 0
52+
RUSTFLAGS: "-Dwarnings"
53+
working-directory: daa
54+
- run: cargo build --benches
55+
env:
56+
CARGO_INCREMENTAL: 0
57+
RUSTFLAGS: "-Dwarnings"
58+
working-directory: daa

.github/workflows/hmac.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: hmac
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "hmac/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
paths:
11+
- "hmac/**"
12+
- "Cargo.*"
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
rust:
20+
- 1.41.0 # MSRV
21+
- stable
22+
target:
23+
- thumbv7em-none-eabi
24+
- wasm32-unknown-unknown
25+
steps:
26+
- uses: actions/checkout@v1
27+
- uses: actions-rs/toolchain@v1
28+
with:
29+
profile: minimal
30+
toolchain: ${{ matrix.rust }}
31+
target: ${{ matrix.target }}
32+
override: true
33+
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
34+
working-directory: hmac
35+
test:
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
rust:
40+
- 1.41.0 # MSRV
41+
- stable
42+
steps:
43+
- uses: actions/checkout@v1
44+
- uses: actions-rs/toolchain@v1
45+
with:
46+
profile: minimal
47+
toolchain: ${{ matrix.rust }}
48+
override: true
49+
- run: cargo test --release
50+
env:
51+
CARGO_INCREMENTAL: 0
52+
RUSTFLAGS: "-Dwarnings"
53+
working-directory: hmac
54+
- run: cargo build --benches
55+
env:
56+
CARGO_INCREMENTAL: 0
57+
RUSTFLAGS: "-Dwarnings"
58+
working-directory: hmac

.github/workflows/pmac.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: pmac
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "pmac/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
paths:
11+
- "pmac/**"
12+
- "Cargo.*"
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
rust:
20+
- 1.41.0 # MSRV
21+
- stable
22+
target:
23+
- thumbv7em-none-eabi
24+
- wasm32-unknown-unknown
25+
steps:
26+
- uses: actions/checkout@v1
27+
- uses: actions-rs/toolchain@v1
28+
with:
29+
profile: minimal
30+
toolchain: ${{ matrix.rust }}
31+
target: ${{ matrix.target }}
32+
override: true
33+
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
34+
working-directory: pmac
35+
test:
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
rust:
40+
- 1.41.0 # MSRV
41+
- stable
42+
steps:
43+
- uses: actions/checkout@v1
44+
- uses: actions-rs/toolchain@v1
45+
with:
46+
profile: minimal
47+
toolchain: ${{ matrix.rust }}
48+
override: true
49+
- run: cargo test --release
50+
env:
51+
CARGO_INCREMENTAL: 0
52+
RUSTFLAGS: "-Dwarnings"
53+
working-directory: pmac
54+
- run: cargo build --benches
55+
env:
56+
CARGO_INCREMENTAL: 0
57+
RUSTFLAGS: "-Dwarnings"
58+
working-directory: pmac

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
target/
2-
*/target/
3-
*/*/target/
4-
Cargo.lock

.travis.yml

-37
This file was deleted.

0 commit comments

Comments
 (0)