Mercurial > minori
comparison dep/utf8proc/appveyor.yml @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Thu, 20 Jun 2024 05:56:06 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 342:adb79bdde329 | 343:1faa72660932 |
|---|---|
| 1 branches: | |
| 2 only: | |
| 3 - master | |
| 4 - /release-.*/ | |
| 5 | |
| 6 notifications: | |
| 7 - provider: Email | |
| 8 on_build_success: false | |
| 9 on_build_failure: false | |
| 10 on_build_status_changed: false | |
| 11 | |
| 12 build_script: | |
| 13 - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` | |
| 14 https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` | |
| 15 Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` | |
| 16 throw "There are newer queued builds for this pull request, failing early." } | |
| 17 - mkdir msvc_static | |
| 18 - cd msvc_static | |
| 19 - cmake .. -DUTF8PROC_ENABLE_TESTING=On | |
| 20 - cmake --build . | |
| 21 - ctest | |
| 22 - mkdir ..\msvc_shared | |
| 23 - cd ..\msvc_shared | |
| 24 - cmake .. -DBUILD_SHARED_LIBS=ON -DUTF8PROC_ENABLE_TESTING=On | |
| 25 - cmake --build . | |
| 26 - ctest | |
| 27 - set PATH=C:\MinGW\bin;%PATH% | |
| 28 - C:\MinGW\msys\1.0\bin\sh --login -c " | |
| 29 cd /c/projects/utf8proc && | |
| 30 mkdir mingw_static && | |
| 31 cd mingw_static && | |
| 32 cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DUTF8PROC_ENABLE_TESTING=On -G'MSYS Makefiles' && | |
| 33 make && | |
| 34 ctest && | |
| 35 mkdir ../mingw_shared && | |
| 36 cd ../mingw_shared && | |
| 37 cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_SHARED_LIBS=ON -DUTF8PROC_ENABLE_TESTING=On -G'MSYS Makefiles' && | |
| 38 make && | |
| 39 ctest | |
| 40 " | |
| 41 | |
| 42 on_finish: | |
| 43 # Uncomment the following line for interactive debugging, which | |
| 44 # will print login data for a temporary remote session after the | |
| 45 # build. This requires an RDP version 6 client, e.g., FreeRDP. | |
| 46 #- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
