File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 docker_compose : true
7777 prerequisites : |
7878 sudo apt-get update
79- sudo apt-get install -qq libgtk-3-dev libglib2.0-dev pkg-config jq
79+ sudo apt-get install -qq pkg-config jq
8080
8181 - distribution : ubuntu-24.04
8282 archive-name : ubuntu_24_04
8787 docker_compose : true
8888 prerequisites : |
8989 sudo apt-get update
90- sudo apt-get install -qq libgtk-3-dev libglib2.0-dev pkg-config jq
90+ sudo apt-get install -qq pkg-config jq
9191 features : non-fips
9292
9393 - distribution : macos-15
9797 /usr/local/openssl/lib/ossl-modules/legacy.dylib
9898 target/aarch64-apple-darwin/${{ inputs.debug_or_release }}/libcosmian_pkcs11.dylib
9999 skip_services_tests : --skip test_mysql --skip test_postgresql --skip test_redis --skip google_cse --skip hsm --skip findex_server --skip redis
100+ --skip forward_proxy
100101 docker_compose : false
101102 features : non-fips
102103
@@ -128,7 +129,7 @@ jobs:
128129 target/x86_64-unknown-linux-gnu/${{ inputs.debug_or_release }}/libcosmian_pkcs11.so
129130 prerequisites : |
130131 sudo apt-get update
131- sudo apt-get install -qq librust-atk-sys-dev librust-gdk-sys-dev pkg-config jq
132+ sudo apt-get install -qq pkg-config jq
132133 docker_compose : true
133134 features : non-fips
134135
@@ -154,7 +155,6 @@ jobs:
154155 archive-name : windows
155156 debug_or_release : ${{ inputs.debug_or_release }}
156157
157-
158158 cleanup :
159159 needs :
160160 - rockylinux8
Original file line number Diff line number Diff line change 5252 with :
5353 submodules : recursive
5454
55- - run : |
55+ - uses : dtolnay/rust-toolchain@master
56+ with :
57+ toolchain : ${{ inputs.toolchain }}
58+ components : rustfmt, clippy
59+
60+ - name : Run docker containers
61+ if : ${{ inputs.docker_compose }}
62+ run : |
63+ docker compose -h
64+ docker compose up -d
65+
66+ - name : Local OpenSSL Install
67+ run : |
5668 sudo mkdir -p ${{ env.OPENSSL_DIR }}/ssl
5769 sudo mkdir -p ${{ env.OPENSSL_DIR }}/lib64/ossl-modules
5870 sudo chown -R $USER ${{ env.OPENSSL_DIR }}
6678 set -ex
6779 ${{ inputs.prerequisites }}
6880
69- - uses : dtolnay/rust-toolchain@master
70- with :
71- toolchain : ${{ inputs.toolchain }}
72- components : rustfmt, clippy
73-
74- - name : Run docker containers
75- if : ${{ inputs.docker_compose }}
76- run : |
77- docker compose -h
78- docker compose up -d
79-
8081 - name : Build and tests
8182 env :
8283 OPENSSL_DIR : ${{ env.OPENSSL_DIR }}
Original file line number Diff line number Diff line change @@ -83,17 +83,12 @@ jobs:
8383 toolchain : ${{ inputs.toolchain }}
8484 components : rustfmt, clippy
8585
86- - name : Local OpenSSL FIPS Install
86+ - name : Local OpenSSL Install
8787 run : |
8888 bash .github/reusable_scripts/get_openssl_binaries.sh
8989 env :
9090 OS_NAME : ubuntu_20_04
9191
92- - name : Pre-cleanup
93- run : |
94- set -x
95- rm -rf /tmp/sqlite-data /tmp/tmp.toml
96-
9792 - name : Build and tests
9893 env :
9994 OPENSSL_DIR : ${{ env.OPENSSL_DIR }}
@@ -122,7 +117,7 @@ jobs:
122117 TARGET : ${{ inputs.target }}
123118 DEBUG_OR_RELEASE : ${{ inputs.debug_or_release }}
124119 FEATURES : ${{ inputs.features }}
125- SKIP_SERVICES_TESTS : --skip hsm
120+ SKIP_SERVICES_TESTS : --skip hsm --skip forward_proxy
126121 run : |
127122 bash .github/scripts/cargo_build.sh
128123
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 audit :
13- name : Audit
13+ name : audit
1414 runs-on : ubuntu-latest
1515
1616 steps :
Original file line number Diff line number Diff line change 2626
2727 - name : Check doc
2828 run : cargo doc --all-features --workspace ${{ inputs.exclusions }}
29+
30+ - name : Run doc tests
31+ run : cargo test --release --workspace ${{ inputs.exclusions }} --all-features --doc
Original file line number Diff line number Diff line change @@ -67,19 +67,16 @@ jobs:
6767 toolchain : ${{ inputs.toolchain }}
6868 components : rustfmt, clippy
6969
70- - name : Install tooling for benchmarks
71- run : |
72- sudo apt update
73- sudo apt install -y gnuplot
74- cargo install --locked criterion-table || true
75- cargo install --locked cargo-criterion || true
76-
7770 - name : Static analysis
71+ run : cargo clippy --workspace ${{ inputs.exclusions }} --all-targets -- -D warnings
72+
73+ - name : Static analysis all features
7874 run : cargo clippy --workspace ${{ inputs.exclusions }} --all-targets --all-features -- -D warnings
7975
8076 - name : Run tests
8177 run : |
82- cargo test --release --workspace ${{ inputs.exclusions }} --all-targets --all-features
78+ cargo test --release --workspace ${{ inputs.exclusions }} --all-targets
8379
84- - name : Run doc tests
85- run : cargo test --release --workspace ${{ inputs.exclusions }} --all-features --doc
80+ - name : Run tests all features
81+ run : |
82+ cargo test --release --workspace ${{ inputs.exclusions }} --all-targets --all-features
Original file line number Diff line number Diff line change 11---
2- name : Cargo lints & tests
2+ name : Cargo nursery base
33
44on :
55 workflow_call :
Original file line number Diff line number Diff line change 11---
2- name : Cargo lints & tests
2+ name : Cargo nursery
33
44on :
55 workflow_call :
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 semver :
13- name : Check semver
13+ name : check semver
1414 runs-on : ubuntu-latest
1515
1616 steps :
@@ -32,11 +32,13 @@ jobs:
3232 key : ${{ runner.os }}-cargo-semver-
3333 restore-keys : ${{ runner.os }}-cargo-semver-
3434
35- - uses : dtolnay/rust-toolchain@nightly
35+ - uses : dtolnay/rust-toolchain@master
36+ with :
37+ toolchain : ${{ inputs.toolchain }}
3638
3739 - name : Install semver
3840 if : steps.github-cache.outputs.cache-hit != 'true'
39- run : cargo +${{ inputs.toolchain }} install --locked cargo-semver-checks || true
41+ run : cargo +${{ inputs.toolchain }} install --locked cargo-semver-checks
4042
4143 - name : Verify semver integrity
4244 run : cargo +${{ inputs.toolchain }} semver-checks check-release --baseline-root=. --all-features
Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 0.10] - 2025-08-23
6+
7+ ### 🐛 Bug Fixes
8+
9+ - Reorder lint and doc wf
10+ - Semver toolchain
11+ - Skip forward proxy where there is no docker engine
12+ - Some cleanup, add symmetric between workflows (#56 )
13+
14+ ### ⚙️ Miscellaneous Tasks
15+
16+ - Merge branch 'release/v0.9' into develop
17+ - Rename ambiguous wf
18+ - Rename wf name
19+
520## [ 0.9] - 2025-08-21
621
722### 🚀 Features
You can’t perform that action at this time.
0 commit comments