|
52 | 52 | - name: Install Dependencies (Linux)
|
53 | 53 | run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools protobuf-compiler
|
54 | 54 | continue-on-error: true
|
55 |
| - if: matrix.os == 'custom-linux' |
| 55 | + if: contains(matrix.os, 'ubuntu') |
56 | 56 |
|
57 | 57 | - name: Check out repository code
|
58 | 58 | uses: actions/checkout@v4
|
@@ -87,28 +87,28 @@ jobs:
|
87 | 87 | args: --features axum
|
88 | 88 |
|
89 | 89 | - name: Build all examples
|
90 |
| - if: matrix.os == 'custom-linux' |
| 90 | + if: contains(matrix.os, 'ubuntu') |
91 | 91 | uses: actions-rs/cargo@v1
|
92 | 92 | with:
|
93 | 93 | command: build
|
94 | 94 | args: --workspace --examples --features wireguard
|
95 | 95 |
|
96 | 96 | - name: Run all tests
|
97 |
| - if: matrix.os == 'custom-linux' |
| 97 | + if: contains(matrix.os, 'ubuntu') |
98 | 98 | uses: actions-rs/cargo@v1
|
99 | 99 | with:
|
100 | 100 | command: test
|
101 | 101 | args: --workspace --features wireguard
|
102 | 102 |
|
103 | 103 | - name: Run expensive tests
|
104 |
| - if: (github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'master') && matrix.os == 'custom-linux' |
| 104 | + if: (github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'master') && contains(matrix.os, 'ubuntu') |
105 | 105 | uses: actions-rs/cargo@v1
|
106 | 106 | with:
|
107 | 107 | command: test
|
108 | 108 | args: --workspace --features wireguard -- --ignored
|
109 | 109 |
|
110 | 110 | - name: Annotate with clippy checks
|
111 |
| - if: matrix.os == 'custom-linux' |
| 111 | + if: contains(matrix.os, 'ubuntu') |
112 | 112 | uses: actions-rs/clippy-check@v1
|
113 | 113 | continue-on-error: true
|
114 | 114 | with:
|
|
0 commit comments