Skip to content

Remove ci.sh script to run all from workflow #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: cargo fmt --all -- --check

lints:
name: Check lints
name: Check lints with clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -134,10 +134,8 @@ jobs:
env:
TEST_PKCS11_MODULE: /usr/lib/softhsm/libsofthsm2.so
SOFTHSM2_CONF: /tmp/softhsm2.conf
TARGET: ${{ matrix.target }}
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
run: ./ci.sh
run: RUST_BACKTRACE=1 cargo test --target ${{ matrix.target }}

build-windows:
name: Build on Windows
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,47 +28,6 @@ jobs:
- name: Execute cargo udeps
run: cargo +nightly udeps

build:
name: Execute builds with updated dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install SoftHSM
run: |
sudo apt-get update -y -qq &&
sudo apt-get install -y -qq libsofthsm2 &&
mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf

- name: Install Rust targets
run: |
rustup target add armv7-unknown-linux-gnueabi &&
rustup target add armv7-unknown-linux-gnueabihf &&
rustup target add arm-unknown-linux-gnueabi &&
rustup target add aarch64-unknown-linux-gnu &&
rustup target add i686-unknown-linux-gnu &&
rustup target add powerpc64-unknown-linux-gnu &&
rustup target add powerpc64le-unknown-linux-gnu &&
rustup target add x86_64-pc-windows-msvc &&
rustup target add x86_64-apple-darwin &&
rustup target add aarch64-apple-darwin &&
rustup target add x86_64-unknown-freebsd
rustup target add loongarch64-unknown-linux-gnu
rustup target add riscv64gc-unknown-linux-gnu

- name: Test script
env:
TEST_PKCS11_MODULE: /usr/lib/softhsm/libsofthsm2.so
SOFTHSM2_CONF: /tmp/softhsm2.conf
run: |
rm Cargo.lock
./ci.sh

audit:
name: Check for crates with security vulnerabilities
runs-on: ubuntu-latest
Expand Down
14 changes: 0 additions & 14 deletions ci.sh

This file was deleted.

Loading