Skip to content

Commit 0a49397

Browse files
committed
Ensure that prove is found
That's another thing `/etc/profile` would have done for us... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7fa1f72 commit 0a49397

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
set -x
3939
echo "This is the MSYS2 pseudo root: $(cygpath -aw /)"
4040
test "gcc is /mingw64/bin/gcc" = "$(type gcc)"
41+
test "prove is /usr/bin/core_perl/prove" = "$(type prove)"
42+
prove -V
4143
printf '%s\n' \
4244
"#include <stdio.h>" \
4345
'' \

main.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ async function run(): Promise<void> {
5252
}
5353
}
5454

55-
// Set up PATH so that Git for Windows' SDK's `bash.exe` is found
55+
// Set up PATH so that Git for Windows' SDK's `bash.exe`, `prove` and `gcc` are found
56+
core.addPath(`${outputDirectory}/usr/bin/core_perl`)
5657
core.addPath(`${outputDirectory}/usr/bin`)
5758
const msystem = architecture === 'i686' ? 'MING32' : 'MINGW64'
5859
core.addPath(`${outputDirectory}/${msystem.toLocaleLowerCase()}/bin`)

0 commit comments

Comments
 (0)