Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 851a487

Browse files
committed
Moved instruction appending MinGW's path to systems Path's to 'install' section.
Also removed instruction to copy 'mingw32-make' to 'make', calling 'ming32-make' directly later in the build phase.
1 parent 8990b78 commit 851a487

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ install:
2121
unzip "$sdk_file" -d "arduino-sdk"
2222
}
2323
- ps: $env:ARDUINO_SDK_PATH = ($env:ARDUINO_SDK_PATH -replace "\\","/")
24-
before_build:
25-
- ps: Copy-Item -Path $env:MINGW_PATH\mingw32-make.exe -Destination $env:MINGW_PATH\make.exe
24+
- ps: $env:Path += ";$env:MINGW_PATH"
2625
build_script:
2726
# Add the MinGW Path to the system PATH temporarily for this session
28-
- ps: $env:Path += ";$env:MINGW_PATH"
2927
- ps: cd $env:APPVEYOR_BUILD_FOLDER
3028
- ps: mkdir build
3129
- ps: cd build
@@ -37,7 +35,7 @@ build_script:
3735
--no-warn-unused-cli
3836
..\examples
3937
- ps: |
40-
make.exe 2>&1 3>&1
38+
mingw32-make.exe 2>&1 3>&1
4139
if ($LastExitCode -eq 0) { $host.SetShouldExit(0) }
4240
artifacts:
4341
- path: cmake

0 commit comments

Comments
 (0)