File tree 2 files changed +22
-16
lines changed
2 files changed +22
-16
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Continuous Integration
1
+ name : CI
2
2
3
3
on :
4
4
pull_request :
@@ -35,33 +35,44 @@ jobs:
35
35
run : cargo hack build --each-feature --keep-going
36
36
37
37
test :
38
- name : Test
39
- runs-on : ubuntu-latest
40
38
strategy :
41
39
fail-fast : false
42
40
matrix :
43
41
toolchain :
44
42
- stable
45
43
- nightly
44
+ os :
45
+ - name : Ubuntu
46
+ version : ubuntu-latest
47
+ - name : Windows
48
+ version : windows-latest
49
+ - name : MacOS
50
+ version : macos-13
51
+
52
+ name : Test - ${{ matrix.os.name }} (${{ matrix.toolchain }})
53
+ runs-on : ${{ matrix.os.version }}
54
+
46
55
steps :
47
56
- name : Checkout sources
48
57
uses : actions/checkout@v4
58
+ # Install NASM on Windows (because of aws-lc-rs requirements)
59
+ - uses : ilammy/setup-nasm@v1
60
+ if : ${{ matrix.os.name == 'Windows' }}
61
+ - name : Setup Docker (MacOS only)
62
+ if : ${{ matrix.os.name == 'MacOS' }}
63
+ uses : crazy-max/ghaction-setup-docker@v3
64
+ with :
65
+ set-host : true
49
66
- uses : Swatinem/rust-cache@v2
50
- - name : Setup Rust
67
+ - name : Setup Rust - ${{ matrix.toolchain }}
51
68
uses : dtolnay/rust-toolchain@master
52
69
with :
53
70
toolchain : ${{ matrix.toolchain }}
54
- - name : Enable Docker Remote API on Localhost
55
- shell : bash
56
- run : |
57
- sudo mkdir -p /etc/systemd/system/docker.service.d/
58
- sudo cp ./.github/docker.override.conf /etc/systemd/system/docker.service.d/override.conf
59
- sudo systemctl daemon-reload
60
- sudo systemctl restart docker
61
71
- uses : taiki-e/install-action@v2
62
72
with :
63
73
tool : cargo-hack
64
74
- name : Tests
75
+ timeout-minutes : 30
65
76
run : cargo hack test --each-feature --clean-per-run
66
77
67
78
fmt :
You can’t perform that action at this time.
0 commit comments