Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor - Windows autobuilds #95

Closed
wants to merge 46 commits into from
Closed
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
72a7586
added appveyor script
tmarrinan Jan 17, 2017
39fce19
update appveyor script
tmarrinan Jan 17, 2017
5d001dd
update appveyor script
tmarrinan Jan 17, 2017
d486d08
appveyor - create .zip archive
tmarrinan Jan 17, 2017
426b661
appveryor publish release
tmarrinan Jan 17, 2017
b6b4a25
update appveyor - copying license
tmarrinan Jan 17, 2017
87a0b3e
update appveyor for 32-bit build
tmarrinan Jan 18, 2017
7e2d654
update appveyor for 32-bit build
tmarrinan Jan 18, 2017
a13519a
Merge branch 'master' of https://github.com/anholt/libepoxy
tmarrinan Feb 6, 2017
4b27b18
pull upstream
tmarrinan Feb 6, 2017
abe89c6
pull upstream
tmarrinan Feb 6, 2017
0885118
use python3
tmarrinan Feb 6, 2017
911b620
use python3
tmarrinan Feb 6, 2017
5222259
use python3
tmarrinan Feb 6, 2017
0dc69b2
use python3
tmarrinan Feb 6, 2017
6199bea
use ninja/meson
tmarrinan Feb 6, 2017
6c416b7
use ninja/meson
tmarrinan Feb 6, 2017
2e662ea
use ninja/meson
tmarrinan Feb 6, 2017
b31a195
use ninja/meson
tmarrinan Feb 6, 2017
f10bdfb
use ninja/meson
tmarrinan Feb 6, 2017
bdd2478
use ninja/meson
tmarrinan Feb 6, 2017
dd69e04
use ninja/meson
tmarrinan Feb 6, 2017
06e4dd0
use ninja/meson
tmarrinan Feb 6, 2017
1a76cc8
use ninja/meson
tmarrinan Feb 6, 2017
ca0b958
use ninja/meson
tmarrinan Feb 6, 2017
d188d33
use ninja/meson
tmarrinan Feb 6, 2017
8ec5d57
use meson + msvc
tmarrinan Feb 6, 2017
e949227
Merge branch 'master' of https://github.com/anholt/libepoxy
tmarrinan Feb 8, 2017
1178544
update - use python 2.7
tmarrinan Feb 8, 2017
c7317c0
update - use python 2.7 and python 3.6
tmarrinan Feb 8, 2017
23ed8d9
update - use python 2.7 and python 3.6
tmarrinan Feb 8, 2017
0a05dbf
Merge branch 'master' of https://github.com/anholt/libepoxy
tmarrinan Feb 8, 2017
807251d
Merge branch 'master' of https://github.com/anholt/libepoxy
tmarrinan Feb 8, 2017
916b5e3
update appveyor
tmarrinan Feb 8, 2017
adbd3b7
copying build artifacts to final dir
tmarrinan Feb 8, 2017
cd3f6c9
copying build artifacts to final dir
tmarrinan Feb 8, 2017
73ef171
copying build artifacts to final dir
tmarrinan Feb 8, 2017
017e382
copying build artifacts to final dir
tmarrinan Feb 8, 2017
a7e1394
update appveyor
tmarrinan Feb 8, 2017
7dc62e1
finish appveyor update - meson
tmarrinan Feb 8, 2017
b4e8f11
fix release name
tmarrinan Feb 8, 2017
e931e56
use ninja - test
tmarrinan Feb 9, 2017
798c2c4
use ninja - test build
tmarrinan Feb 9, 2017
48924b8
use ninja\!
tmarrinan Feb 9, 2017
5465861
Merge branch 'master' of https://github.com/anholt/libepoxy
tmarrinan Feb 9, 2017
71271d4
comments to appveyor script
tmarrinan Feb 9, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
version: 1.0.{build}

image: Visual Studio 2015

configuration: Release

# Configure both 32-bit and 64-bit builds
environment:
matrix:
- platform: x86
config: Win32
pout: x86
- platform: x64
config: x64
pout: x64

shallow_clone: true

# Download Meson and Ninja, create install directory
before_build:
- mkdir build
- mkdir libepoxy-shared-%pout%
- cd build
- curl -LsSO https://github.com/mesonbuild/meson/releases/download/0.38.0/meson-0.38.0.tar.gz
- 7z x meson-0.38.0.tar.gz
- move dist\meson-0.38.0.tar .
- 7z x meson-0.38.0.tar
- rmdir dist
- del meson-0.38.0.tar meson-0.38.0.tar.gz
- curl -LsSO https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-win.zip
- 7z x ninja-win.zip
- del ninja-win.zip
- cd ..

# Build and install
build_script:
- cd build
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
- C:\Python36\python.exe meson-0.38.0\meson.py .. . --backend=ninja --prefix=%APPVEYOR_BUILD_FOLDER%\libepoxy-shared-%pout%
- ninja
- ninja install
- cd ..

# Copy license into install directory and create .zip file
after_build:
- copy COPYING libepoxy-shared-%pout%
- dir libepoxy-shared-%pout% /s /b
- 7z a -tzip libepoxy-shared-%pout%.zip libepoxy-shared-%pout%

artifacts:
- path: libepoxy-shared-%pout%.zip
name: libepoxy-shared-%pout%

test: off

# Upload .zip file to GitHub release
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: "Epoxy $(APPVEYOR_REPO_TAG_NAME)"
provider: GitHub
auth_token:
secure: PF/wHCfSMFPCYyFh3GgjEJDHoPyPOnrmmbVMMwe8cNQBw2NL0vaYxjL1QcjMfpvL
artifact: libepoxy-shared-$(pout)
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only