File: rust.yml

package info (click to toggle)
rust-robust 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,220 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 574 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
on: [pull_request, push]
jobs:
  ci-result:
    name: ci result
    runs-on: ubuntu-latest
    needs:
      - build_and_test
    steps:
      - name: Mark the job as a success
        if: success()
        run: exit 0
      - name: Mark the job as a failure
        if: "!success()"
        run: exit 1

  build_and_test:
    name: Test all features
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - run: cargo install cargo-all-features
      - run: cargo build-all-features --verbose --examples
      - run: cargo test-all-features --verbose