Skip to content

Commit 15e0497

Browse files
committed
CI changes to add coregraphics
1 parent 1d9f714 commit 15e0497

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,43 @@ jobs:
5959
uses: actions-rs/cargo@v1
6060
with:
6161
command: clippy
62-
args: --workspace --all-targets --exclude piet-cairo -- -D warnings
62+
args: --workspace --all-targets --exclude piet-cairo --exclude piet-coregraphics -- -D warnings
6363
if: contains(matrix.os, 'windows')
6464

65-
- name: cargo clippy (not windows)
65+
- name: cargo clippy (mac)
6666
uses: actions-rs/cargo@v1
6767
with:
6868
command: clippy
6969
args: --workspace --all-targets --exclude piet-direct2d -- -D warnings
70-
if: contains(matrix.os, 'windows') != true
70+
if: contains(matrix.os, 'macOS')
71+
72+
- name: cargo clippy (linux)
73+
uses: actions-rs/cargo@v1
74+
with:
75+
command: clippy
76+
args: --workspace --all-targets --exclude piet-direct2d --exclude piet-coregraphics -- -D warnings
77+
if: contains(matrix.os, 'ubuntu')
7178

7279
- name: cargo test (windows)
7380
uses: actions-rs/cargo@v1
7481
with:
7582
command: test
76-
args: --workspace --exclude piet-cairo
83+
args: --workspace --exclude piet-cairo --exclude piet-coregraphics
7784
if: contains(matrix.os, 'windows')
7885

7986
- name: cargo test (not windows)
8087
uses: actions-rs/cargo@v1
8188
with:
8289
command: test
8390
args: --workspace --exclude piet-direct2d
84-
if: contains(matrix.os, 'windows') != true
91+
if: contains(matrix.os, 'macOS')
92+
93+
- name: cargo test (not windows)
94+
uses: actions-rs/cargo@v1
95+
with:
96+
command: test
97+
args: --workspace --exclude piet-direct2d --exclude piet-coregraphics
98+
if: contains(matrix.os, 'ubuntu')
8599

86100
test-stable-wasm:
87101
runs-on: ${{ matrix.os }}
@@ -105,13 +119,13 @@ jobs:
105119
uses: actions-rs/cargo@v1
106120
with:
107121
command: clippy
108-
args: --workspace --all-targets --exclude piet-cairo --exclude piet-direct2d --target wasm32-unknown-unknown -- -D warnings
122+
args: --workspace --all-targets --exclude piet-cairo --exclude piet-direct2d --exclude piet-coregraphics --target wasm32-unknown-unknown -- -D warnings
109123

110124
- name: cargo test compile
111125
uses: actions-rs/cargo@v1
112126
with:
113127
command: test
114-
args: --workspace --exclude piet-cairo --exclude piet-direct2d --no-run --target wasm32-unknown-unknown
128+
args: --workspace --exclude piet-cairo --exclude piet-direct2d --exclude piet-coregraphics --no-run --target wasm32-unknown-unknown
115129

116130
test-nightly:
117131
runs-on: ${{ matrix.os }}
@@ -143,15 +157,22 @@ jobs:
143157
uses: actions-rs/cargo@v1
144158
with:
145159
command: test
146-
args: --workspace --exclude piet-cairo
160+
args: --workspace --exclude piet-cairo --exclude piet-coregraphics
147161
if: contains(matrix.os, 'windows')
148162

149-
- name: cargo test (not windows)
163+
- name: cargo test (mac)
150164
uses: actions-rs/cargo@v1
151165
with:
152166
command: test
153167
args: --workspace --exclude piet-direct2d
154-
if: contains(matrix.os, 'windows') != true
168+
if: contains(matrix.os, 'macOS')
169+
170+
- name: cargo test (linux)
171+
uses: actions-rs/cargo@v1
172+
with:
173+
command: test
174+
args: --workspace --exclude piet-direct2d --exclude piet-coregraphics
175+
if: contains(matrix.os, 'ubuntu')
155176

156177
check-docs:
157178
name: Docs

0 commit comments

Comments
 (0)