From e830acadf3c9700446667ea8d229ba2f988ebc96 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 25 Jan 2020 12:48:14 +0100 Subject: [PATCH] ci: fix Windows build failure for wasi-libc The wasi-libc Makefile uses the `find` command line tool. Unfortunately, it was using the Windows find version instead of the MinGW version, leading to lots of errors at a later stage. This commit prepends /usr/bin to `$PATH` to make sure the MinGW version is found first. --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ba5ff50e..8e905ac4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -54,7 +54,7 @@ jobs: displayName: Build wasi-libc inputs: targetType: inline - script: make wasi-libc CLANG=$PWD/llvm-build/bin/clang LLVM_AR=$PWD/llvm-build/bin/llvm-ar LLVM_NM=$PWD/llvm-build/bin/llvm-nm + script: PATH=/usr/bin:$PATH make wasi-libc CLANG=$PWD/llvm-build/bin/clang LLVM_AR=$PWD/llvm-build/bin/llvm-ar LLVM_NM=$PWD/llvm-build/bin/llvm-nm - task: Bash@3 displayName: Test TinyGo inputs: