Skip to content

Commit e92ddb2

Browse files
committed
add missing needs
1 parent 4c6174c commit e92ddb2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,23 +117,25 @@ jobs:
117117
with:
118118
path: ./target
119119
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
120-
- name: Build tests (musl)
120+
- name: Build tests
121121
run: |
122-
powershell ci/windows-builds.ps1
122+
powershell ci/windows-build.ps1
123123
timeout-minutes: 5
124124
- uses: actions/upload-artifact@v2
125125
with:
126126
path: ./tests
127127
name: tests-windows
128128
retention-days: 2
129129

130-
tests-windows:
130+
tests-windows-run:
131131
strategy:
132132
matrix:
133133
rust-target:
134134
- 'x86_64-pc-windows-gnu'
135135
- 'x86_64-pc-windows-msvc'
136136
runs-on: windows-latest
137+
needs:
138+
- tests-windows-build
137139
steps:
138140
- uses: actions/checkout@v2
139141
- uses: actions/download-artifact@v1

ci/windows-build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ function Build-JJSForTarget {
55
param($TargetName)
66

77
New-Item -ItemType directory -Path ./tests/$TargetName
8+
Write-Output "::group::Building for $TargetName"
89
cargo build -p minion-tests -Zunstable-options --out-dir=./tests/$TargetName --target=$TargetName
910

1011
if ($LASTEXITCODE -ne 0) {

0 commit comments

Comments
 (0)