File: ci.yml

package info (click to toggle)
rust-parsec-tool 0.7.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: sh: 275; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Continuous Integration

on: [push, pull_request, workflow_dispatch]

jobs:
  build:
    name: Execute CI script
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install and run Parsec with the Mbed Crypto provider
        run: |
          git clone https://github.com/parallaxsecond/parsec.git
          cd parsec
          cargo build --features "mbed-crypto-provider"
          ./target/debug/parsec -c ../tests/test_config.toml &
      - name: Execute CI script
        run: ./tests/ci.sh

  links:
    name: Check links
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Link Checker
      uses: peter-evans/link-checker@v1
      with:
        args: -v -r *.md
    - name: Fail if there were link errors
      run: exit ${{ steps.lc.outputs.exit_code }}