File tree Expand file tree Collapse file tree 3 files changed +38
-12
lines changed Expand file tree Collapse file tree 3 files changed +38
-12
lines changed Original file line number Diff line number Diff line change 1+ name : " CI script Tests"
2+ description : " Install and run Parsec with the Mbed Crypto provider"
3+
4+ runs :
5+ using : " composite"
6+ steps :
7+ - name : Install and run Parsec with the Mbed Crypto provider
8+ run : |
9+ git clone https://github.com/parallaxsecond/parsec.git
10+ cd parsec
11+ cargo build --features "mbed-crypto-provider"
12+ ./target/debug/parsec -c ../tests/test_config.toml &
13+ shell : bash
14+ - name : Execute CI script
15+ run : ./tests/ci.sh
16+ shell : bash
Original file line number Diff line number Diff line change 77 name : Execute CI script
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
11- - name : Install and run Parsec with the Mbed Crypto provider
12- run : |
13- git clone https://github.com/parallaxsecond/parsec.git
14- cd parsec
15- cargo build --features "mbed-crypto-provider"
16- ./target/debug/parsec -c ../tests/test_config.toml &
10+ - uses : actions/checkout@v3
11+ - name : Install latest Rust
12+ uses : actions-rust-lang/setup-rust-toolchain@v1
13+ with :
14+ toolchain : stable
15+ rustflags : " "
1716 - name : Execute CI script
18- run : ./tests/ci.sh
17+ uses : ./.github/actions/ci_script
18+
19+ build-msrv :
20+ name : MSRV - Execute CI script
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v3
24+ - name : Install Rust MSRV
25+ uses : actions-rust-lang/setup-rust-toolchain@v1
26+ with :
27+ toolchain : 1.66.0
28+ rustflags : " "
29+ - name : Execute CI script
30+ uses : ./.github/actions/ci_script
1931
2032 links :
2133 name : Check links
Original file line number Diff line number Diff line change @@ -8,14 +8,12 @@ set -xeuf -o pipefail
88# Points to Parsec's Unix Domain Socket on the CI
99export PARSEC_SERVICE_ENDPOINT=" unix:/tmp/parsec.sock"
1010export RUST_LOG=error
11- MSRV=1.66.0
1211
1312# ########
1413# Build #
1514# ########
16- rustup toolchain install ${MSRV}
17- RUST_BACKTRACE=1 cargo +${MSRV} build
18- RUST_BACKTRACE=1 cargo +${MSRV} build --features spiffe-auth
15+ RUST_BACKTRACE=1 cargo build
16+ RUST_BACKTRACE=1 cargo build --features spiffe-auth
1917
2018# ################
2119# Static checks #
You can’t perform that action at this time.
0 commit comments