Skip to content

Commit e35d1c0

Browse files
committed
chore: Merge branch 'release/0.10'
2 parents acfa629 + 47c1320 commit e35d1c0

10 files changed

Lines changed: 52 additions & 39 deletions

.github/workflows/build_all.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
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
@@ -87,7 +87,7 @@ jobs:
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
@@ -97,6 +97,7 @@ jobs:
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

.github/workflows/build_generic.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,19 @@ jobs:
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 }}
@@ -66,17 +78,6 @@ jobs:
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 }}

.github/workflows/build_in_container.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/cargo-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
audit:
13-
name: Audit
13+
name: audit
1414
runs-on: ubuntu-latest
1515

1616
steps:

.github/workflows/cargo-doc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ jobs:
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

.github/workflows/cargo-lint.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/cargo-nursery-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Cargo lints & tests
2+
name: Cargo nursery base
33

44
on:
55
workflow_call:

.github/workflows/cargo-nursery.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Cargo lints & tests
2+
name: Cargo nursery
33

44
on:
55
workflow_call:

.github/workflows/cargo-semver.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
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

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
All 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

0 commit comments

Comments
 (0)