-
Notifications
You must be signed in to change notification settings - Fork 23
59 lines (56 loc) · 1.54 KB
/
install_tests.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
54
55
56
57
58
59
name: Test installation
on:
schedule:
- cron: "30 23 * * *" # before nightly builds
jobs:
test_linux:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@master
- name: Install musl-tools
run: "sudo apt-get install musl-tools"
- name: Systemd version
run: "systemd --version"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: x86_64-unknown-linux-musl
default: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --target=x86_64-unknown-linux-musl --features github_action_install --test github-actions
- uses: actions-rs/cargo@v1
with:
command: test
args: --features github_action_install --test github-actions
test_other:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
max-parallel: 4
matrix:
os: [windows-2019, macos-latest]
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
default: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --features github_action_install --tests
- uses: actions-rs/cargo@v1
with:
command: test
args: --features github_action_install -- github_action