Skip to content

Commit 02c99a6

Browse files
committed
Squashed history.
0 parents  commit 02c99a6

93 files changed

Lines changed: 17771 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/hax.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: hax
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
fstar-type-checking:
8+
runs-on: "ubuntu-latest"
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: ⤵ Install and configure hax
14+
uses: hacspec/hax-actions@main
15+
with:
16+
fstar: v2025.02.17
17+
18+
- run: sudo apt-get install protobuf-compiler
19+
20+
- name: 🏃 Extract F*
21+
run: |
22+
rm -f proofs/fstar/extraction/*.fst*
23+
./hax.py extract
24+
- name: 🏃 Type-check extracted F*
25+
run: ./hax.py prove
26+

.github/workflows/test.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: CI
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
name: cargo test
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions-rust-lang/setup-rust-toolchain@v1
11+
with:
12+
toolchain: nightly
13+
components: clippy
14+
- run: sudo apt-get install protobuf-compiler
15+
- run: ./check_copyrights.sh
16+
- run: cargo test --all-features
17+
- run: cargo clippy --workspace --all-targets --all-features --keep-going -- -D warnings
18+
msrv:
19+
name: MSRV
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: actions-rust-lang/setup-rust-toolchain@v1
24+
with:
25+
toolchain: 1.80.1
26+
components: clippy
27+
- run: sudo apt-get install protobuf-compiler
28+
- run: cargo +1.80.1 build
29+
crosspoly_i586:
30+
name: cross test polynomial i586
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: actions-rust-lang/setup-rust-toolchain@v1
35+
with:
36+
toolchain: nightly
37+
- run: wget https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-gnu.tar.gz
38+
- run: tar xvzf cross-x86_64-unknown-linux-gnu.tar.gz
39+
- run: chmod u+x cross
40+
- run: ./cross test --target i586-unknown-linux-gnu polynomial
41+
crosspoly_i686:
42+
name: cross test polynomial i686
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v4
46+
- uses: actions-rust-lang/setup-rust-toolchain@v1
47+
with:
48+
toolchain: nightly
49+
- run: wget https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-gnu.tar.gz
50+
- run: tar xvzf cross-x86_64-unknown-linux-gnu.tar.gz
51+
- run: chmod u+x cross
52+
- run: ./cross test --target i686-unknown-linux-gnu polynomial
53+
crosspoly_aarch64:
54+
name: cross test polynomial aarch64
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v4
58+
- uses: actions-rust-lang/setup-rust-toolchain@v1
59+
with:
60+
toolchain: nightly
61+
- run: wget https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-gnu.tar.gz
62+
- run: tar xvzf cross-x86_64-unknown-linux-gnu.tar.gz
63+
- run: chmod u+x cross
64+
- run: ./cross test --target aarch64-unknown-linux-gnu polynomial

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/target
2+
tarpaulin-report.html
3+
rust-toolchain.toml
4+
/.fstar-cache

0 commit comments

Comments
 (0)