File tree 2 files changed +25
-16
lines changed
2 files changed +25
-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,29 +35,43 @@ 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
62
+ if : ${{ matrix.os.name == 'Windows' || runner.os == 'MacOS' }}
63
+ uses : crazy-max/ghaction-setup-docker@v3
64
+ with :
65
+ daemon-config : |
66
+ {
67
+ "experimental": true
68
+ }
69
+ set-host : true
49
70
- uses : Swatinem/rust-cache@v2
50
- - name : Setup Rust
71
+ - name : Setup Rust - ${{ matrix.toolchain }}
51
72
uses : dtolnay/rust-toolchain@master
52
73
with :
53
74
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
75
- uses : taiki-e/install-action@v2
62
76
with :
63
77
tool : cargo-hack
You can’t perform that action at this time.
0 commit comments