Skip to content

Commit 916d1c4

Browse files
Split CI step between build and test
1 parent 62d2ff0 commit 916d1c4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@ jobs:
5252
- use_vcpkg=true
5353
steps:
5454
- *checkout
55-
- run: |
56-
bash tools/earthly.sh +build \
55+
- name: Build
56+
run: bash tools/earthly.sh +build \
57+
--from=${{matrix.from}} \
58+
--${{matrix.vcpkg_arg}}
59+
# This step will use the same cached +build results as long as all Earthly
60+
# build arguments are equivalent. Make sure of that!
61+
- name: Test
62+
run: |
63+
bash tools/earthly.sh -a +test/results.xml results.xml \
5764
--from=${{matrix.from}} \
5865
--${{matrix.vcpkg_arg}}

0 commit comments

Comments
 (0)