Files
latls/.gitea/workflows/ci.yaml
Kris Kwiatkowski 40845591b8
All checks were successful
CI / build (push) Successful in 27s
CI / no-std (push) Successful in 27s
CI / test (push) Successful in 44s
CI / clippy (push) Successful in 1m54s
Initial commit
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-21 08:55:00 +00:00

50 lines
1.6 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
- name: Build
run: . $HOME/.cargo/env && cargo build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
- name: Test (default)
run: . $HOME/.cargo/env && cargo test
- name: Test (webpki)
run: . $HOME/.cargo/env && cargo test --features webpki
- name: Test (native-pki)
run: . $HOME/.cargo/env && cargo test --features native-pki
- name: Test (native-pki + rsa)
run: . $HOME/.cargo/env && cargo test --features native-pki,rsa
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --component clippy
- name: Clippy
run: . $HOME/.cargo/env && cargo clippy -- -D warnings
no-std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target thumbv7em-none-eabi
- name: Build (no_std)
run: . $HOME/.cargo/env && cargo build --target thumbv7em-none-eabi --no-default-features