Commit fd5af39 1 parent ddffc61 commit fd5af39 Copy full SHA for fd5af39
File tree 6 files changed +30
-7
lines changed
6 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 38
38
shell : bash
39
39
40
40
- name : Test
41
- run : |
42
- chmod 777 ./ci/run-docker.sh
43
- ./ci/run-docker.sh ${{ inputs.arch }} ${{ inputs.target }} ${{ inputs.extra-features }}
41
+ run : ./ci/run-docker.sh ${{ inputs.arch }} ${{ inputs.target }} ${{ inputs.extra-features }}
44
42
shell : bash
Original file line number Diff line number Diff line change @@ -145,6 +145,16 @@ jobs:
145
145
target-features : +zkne,+zknd
146
146
extra-features : --features=nightly
147
147
148
+ test-riscv32 :
149
+ name : Test of RiscV-32
150
+ uses : ./.github/workflows/runtest.yml
151
+ with :
152
+ arch : riscv32
153
+ target : riscv32imac-unknown-none-elf
154
+ channel : nightly
155
+ target-features : +zkne,+zknd
156
+ extra-features : --features=nightly -Zbuild-std
157
+
148
158
test-software :
149
159
strategy :
150
160
matrix :
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ constant-time = []
19
19
cfg-if = " 1.0.0"
20
20
21
21
[dev-dependencies ]
22
- hex = " 0.4.3"
22
+ hex = { version = " 0.4.3" , default-features = false }
23
23
lazy_static = " 1.5.0"
Original file line number Diff line number Diff line change
1
+ [ ![ Actions Status] ( https://github.com/sayantn/aes/actions/workflows/rust.yml/badge.svg )] ( https://github.com/sayantn/aes/actions )
2
+
1
3
This is a pure-Rust platform-agnostic [ AES] ( https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197-upd1.pdf ) library, that
2
4
is focused on reusability and optimal performance.
3
5
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:24.04
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ gcc \
4
+ ca-certificates \
5
+ libc6-dev \
6
+ gcc-riscv64-linux-gnu \
7
+ libc6-dev-riscv64-cross \
8
+ qemu-user \
9
+ make \
10
+ file
11
+
12
+ ENV CARGO_TARGET_RISCV32IMAC_UNKNOWN_NONE_ELF_LINKER=riscv64-linux-gnu-gcc \
13
+ CARGO_TARGET_RISCV32IMAC_UNKNOWN_NONE_ELF_RUNNER="qemu-riscv32 -L /usr/riscv64-linux-gnu -cpu rv32,zk=true"
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env sh
1
+ #! /usr/bin/env bash
2
2
3
3
set -ex
4
4
5
5
if [ $# -lt 2 ]; then
6
- >&2 echo " Usage: $0 <ARCH> <TARGET> [<FEATURE>]"
6
+ >&2 echo " Usage: $0 <ARCH> <TARGET> [<FEATURE>] [<BUILD-STD>] "
7
7
exit 1
8
8
fi
9
9
@@ -25,4 +25,4 @@ docker run \
25
25
--workdir /checkout \
26
26
--privileged \
27
27
aes \
28
- sh -c " HOME=/tmp PATH=\$ PATH:/rust/bin exec cargo test --target ${2} ${3-} "
28
+ sh -c " HOME=/tmp PATH=\$ PATH:/rust/bin exec cargo test --target ${2} ${3-} ${4-} "
You can’t perform that action at this time.
0 commit comments