diff options
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 58c8f083a..5050c558c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -7,14 +7,17 @@ on: | |||
7 | - staging | 7 | - staging |
8 | - trying | 8 | - trying |
9 | 9 | ||
10 | env: | ||
11 | CARGO_INCREMENTAL: 0 | ||
12 | CARGO_NET_RETRY: 10 | ||
13 | RUN_SLOW_TESTS: 1 | ||
14 | RUSTFLAGS: -D warnings | ||
15 | RUSTUP_MAX_RETRIES: 10 | ||
16 | |||
10 | jobs: | 17 | jobs: |
11 | rust-audit: | 18 | rust-audit: |
12 | name: Audit Rust vulnerabilities | 19 | name: Audit Rust vulnerabilities |
13 | runs-on: ubuntu-latest | 20 | runs-on: ubuntu-latest |
14 | env: | ||
15 | RUSTUP_MAX_RETRIES: 10 | ||
16 | CARGO_NET_RETRY: 10 | ||
17 | |||
18 | steps: | 21 | steps: |
19 | - name: Install Rust toolchain | 22 | - name: Install Rust toolchain |
20 | uses: actions-rs/toolchain@v1 | 23 | uses: actions-rs/toolchain@v1 |
@@ -40,20 +43,14 @@ jobs: | |||
40 | rust: | 43 | rust: |
41 | name: Rust | 44 | name: Rust |
42 | runs-on: ${{ matrix.os }} | 45 | runs-on: ${{ matrix.os }} |
46 | env: | ||
47 | CC: deny_c | ||
43 | 48 | ||
44 | strategy: | 49 | strategy: |
45 | fail-fast: false | 50 | fail-fast: false |
46 | matrix: | 51 | matrix: |
47 | os: [ubuntu-latest, windows-latest, macos-latest] | 52 | os: [ubuntu-latest, windows-latest, macos-latest] |
48 | 53 | ||
49 | env: | ||
50 | RUSTFLAGS: -D warnings | ||
51 | CC: deny_c | ||
52 | CARGO_INCREMENTAL: 0 | ||
53 | RUN_SLOW_TESTS: 1 | ||
54 | RUSTUP_MAX_RETRIES: 10 | ||
55 | CARGO_NET_RETRY: 10 | ||
56 | |||
57 | steps: | 54 | steps: |
58 | - name: Checkout repository | 55 | - name: Checkout repository |
59 | uses: actions/checkout@v2 | 56 | uses: actions/checkout@v2 |
@@ -111,9 +108,6 @@ jobs: | |||
111 | typescript: | 108 | typescript: |
112 | name: TypeScript | 109 | name: TypeScript |
113 | runs-on: ubuntu-latest | 110 | runs-on: ubuntu-latest |
114 | env: | ||
115 | CXX: g++-4.9 | ||
116 | CC: gcc-4.9 | ||
117 | steps: | 111 | steps: |
118 | - name: Checkout repository | 112 | - name: Checkout repository |
119 | uses: actions/checkout@v2 | 113 | uses: actions/checkout@v2 |