File: features.yml

package info (click to toggle)
rust-openssh 0.11.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 436 kB
  • sloc: makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
on:
  push:
    branches: [master]
    paths-ignore:
      - 'build_doc.sh'
      - 'check.sh'
      - 'run_ci_tests.sh'
      - 'start_sshd.sh'
      - 'stop_sshd.sh'
  pull_request:
    paths-ignore:
      - 'build_doc.sh'
      - 'check.sh'
      - 'run_ci_tests.sh'
      - 'start_sshd.sh'
      - 'stop_sshd.sh'
name: cargo hack

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
  cancel-in-progress: true

env:
  # makes all the ignored tests not ignored
  RUSTFLAGS: --cfg=ci

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - name: Install toolchain
        run: |
          rustup toolchain install stable --no-self-update --profile minimal
      - uses: actions/checkout@v4

      - uses: taiki-e/install-action@cargo-hack
      - name: Create Cargo.lock for caching
        run: cargo update
      - uses: Swatinem/rust-cache@v2

      - name: cargo hack
        run: |
          cargo hack --feature-powerset check --all-targets