-
Notifications
You must be signed in to change notification settings - Fork 51
53 lines (45 loc) · 1.56 KB
/
integration.yaml
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
44
45
46
47
48
49
50
51
52
53
name: Integration tests
on:
pull_request:
branches:
- "*"
jobs:
integration-tests:
name: Integration tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
profile:
- debug
- release
# For `musl` builds, use the `all-vendored` and `tls-rustls` features.
platform:
- target: x86_64-unknown-linux-musl
args: "--no-default-features --features full --features all-vendored --features tls-rustls"
kernel-versions: "5.13,5.15,6.0,6.3,6.6"
- target: aarch64-unknown-linux-musl
args: "--no-default-features --features full --features all-vendored --features tls-rustls"
kernel-versions: "5.15,6.2,6.6"
steps:
- name: Code checkout
uses: actions/checkout@v4
- name: Install dependencies
if: endsWith(matrix.platform.target, 'musl')
run: |
sudo apt-get update
sudo apt-get install -y qemu-system
- name: Install Rust toolchain (stable)
uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.platform.target }}
- name: Install cross
uses: ./.github/actions/install-cross
- name: Integration tests
if: endsWith(matrix.platform.target, 'musl')
run: |
cargo xtask test \
--force-architest \
--target=${{ matrix.platform.target }} \
--kernel-versions=${{ matrix.platform.kernel-versions }} \
--features all-vendored --features tls-rustls