Created
September 2, 2020 06:11
-
-
Save SolarLune/d6d087f886a9eb3ed3b02fe8fff77031 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.5.0.{build} | |
image: | |
- Ubuntu | |
- macos-mojave | |
- Visual Studio 2017 | |
platform: | |
- x64 | |
# We don't want to build any other branches; just master | |
branches: | |
only: | |
- master | |
for: | |
- | |
matrix: | |
only: | |
- image: Ubuntu | |
install: | |
- sudo apt-get update | |
- sudo apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev libasound2-dev -y | |
- | |
matrix: | |
only: | |
- image: Visual Studio 2017 | |
install: | |
# Set the path to include the 64-bit MinGW | |
- set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% | |
build_script: | |
- go run ./build_script/main.go -b | |
# There's probably a better way to do this than copy libwinpthread-1.dll to the distribution folder but I'm stupid and | |
# have spent, like, 20 hours getting it straightened out. This ends here. | |
- copy C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\libwinpthread-1.dll bin\libwinpthread-1.dll | |
build_script: | |
- go run ./build_script/main.go -b # Build... | |
after_build: | |
- go run ./build_script/main.go -c # ... Then compress. | |
artifacts: | |
- path: bin\*.tar.gz | |
name: "MasterPlan-$(APPVEYOR_BUILD_WORKER_IMAGE)-$(APPVEYOR_BUILD_VERSION)" | |
- path: bin\*.zip | |
name: "MasterPlan-$(APPVEYOR_BUILD_WORKER_IMAGE)-$(APPVEYOR_BUILD_VERSION)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment