Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Nov 2, 2023
1 parent 17259c5 commit 915ea2a
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ on:
env:
CARGO_TERM_COLOR: always
CARGO_NET_RETRY: 10
CARGO_INCREMENTAL: 0

jobs:
build:
Expand All @@ -49,10 +48,8 @@ jobs:

- name: cargo build (debug; default features)
run: cargo build --locked
shell: bash

- name: cargo test (debug; all features)
run: cargo test --locked --all-features
shell: bash
env:
RUST_BACKTRACE: 1
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: rustls-mbedpki-provider

permissions:
contents: read

on:
push:
paths-ignore:
- '*.md'
- 'LICENSE'
branches:
- master
pull_request:
paths-ignore:
- '*.md'
- 'LICENSE'
branches:
- master
merge_group:
schedule:
- cron: '0 18 * * *'

env:
CARGO_TERM_COLOR: always
CARGO_NET_RETRY: 10

jobs:
build:
name: Build+test
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
rust: stable
- os: windows-latest
rust: stable
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}

- name: cargo build (debug; default features)
working-directory: rustls-mbedpki-provider
run: cargo build --locked

- name: cargo test (debug; default features)
working-directory: rustls-mbedpki-provider
run: cargo test --locked
env:
RUST_BACKTRACE: 1
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ members = [
]
default-members = [
"rustls-mbedcrypto-provider",
"rustls-mbedpki-provider"
]
resolver = "2"

0 comments on commit 915ea2a

Please sign in to comment.