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 7
7
name : Execute CI script
8
8
runs-on : ubuntu-latest
9
9
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 : " "
17
16
- 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
19
31
20
32
links :
21
33
name : Check links
Original file line number Diff line number Diff line change @@ -8,14 +8,12 @@ set -xeuf -o pipefail
8
8
# Points to Parsec's Unix Domain Socket on the CI
9
9
export PARSEC_SERVICE_ENDPOINT=" unix:/tmp/parsec.sock"
10
10
export RUST_LOG=error
11
- MSRV=1.66.0
12
11
13
12
# ########
14
13
# Build #
15
14
# ########
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
19
17
20
18
# ################
21
19
# Static checks #
You can’t perform that action at this time.
0 commit comments