File tree Expand file tree Collapse file tree 9 files changed +1008
-0
lines changed Expand file tree Collapse file tree 9 files changed +1008
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : dhkem
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " .github/workflows/dhkem.yml"
7
+ - " dhkem/**"
8
+ - " Cargo.*"
9
+ push :
10
+ branches : master
11
+
12
+ defaults :
13
+ run :
14
+ working-directory : dhkem
15
+
16
+ env :
17
+ RUSTFLAGS : " -Dwarnings"
18
+ CARGO_INCREMENTAL : 0
19
+
20
+ jobs :
21
+ set-msrv :
22
+ uses : RustCrypto/actions/.github/workflows/set-msrv.yml@master
23
+ with :
24
+ msrv : 1.74.0
25
+
26
+ minimal-versions :
27
+ # temporarily disabled as requested by Tony (https://github.com/RustCrypto/KEMs/pull/15#pullrequestreview-2006378802)
28
+ if : false
29
+ uses : RustCrypto/actions/.github/workflows/minimal-versions.yml@master
30
+ with :
31
+ working-directory : ${{ github.workflow }}
32
+
33
+ test :
34
+ needs : set-msrv
35
+ runs-on : ubuntu-latest
36
+ strategy :
37
+ matrix :
38
+ rust :
39
+ - ${{needs.set-msrv.outputs.msrv}}
40
+ - stable
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+ - uses : RustCrypto/actions/cargo-cache@master
44
+ - uses : dtolnay/rust-toolchain@master
45
+ with :
46
+ toolchain : ${{ matrix.rust }}
47
+ - run : cargo test --no-default-features
48
+ - run : cargo test
49
+ - run : cargo test --all-features
50
+
51
+ cross :
52
+ needs : set-msrv
53
+ strategy :
54
+ matrix :
55
+ include :
56
+ - target : powerpc-unknown-linux-gnu
57
+ rust : ${{needs.set-msrv.outputs.msrv}}
58
+ - target : powerpc-unknown-linux-gnu
59
+ rust : stable
60
+ runs-on : ubuntu-latest
61
+ steps :
62
+ - uses : actions/checkout@v4
63
+ - uses : dtolnay/rust-toolchain@master
64
+ with :
65
+ toolchain : ${{ matrix.rust }}
66
+ targets : ${{ matrix.target }}
67
+ - uses : RustCrypto/actions/cross-install@master
68
+ - run : cross test --release --target ${{ matrix.target }} --all-features
You can’t perform that action at this time.
0 commit comments