-
Notifications
You must be signed in to change notification settings - Fork 23
53 lines (45 loc) · 1.13 KB
/
nightly-test.yml
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: Nightly Tests
on:
schedule:
- cron: "0 0 * * *"
repository_dispatch:
types: ["nightly-test"]
push:
branches:
- nightly-test
env:
RUST_TEST_THREADS: 1
jobs:
nightly-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
test_suite:
- compat
- install
- upgrade
- project
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install musl-tools
run: "sudo apt-get install musl-tools"
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@d0e72ca3bfdc51937a4f81431ccbed269ef9f2a2
with:
components: "cargo,rustc,rust-std"
toolchain: "stable"
targets: "x86_64-unknown-linux-musl"
- name: Docker Permissions
run: sudo chmod a+rw /var/run/docker.sock
- run: |
cargo test \
--target=x86_64-unknown-linux-musl \
--test=github-nightly \
--features=github_nightly \
-- \
${{ matrix.test_suite }}::