commit
03b9b4692c
@ -1,67 +0,0 @@ |
||||
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.47.1/meson-0.47.1.tar.gz |
||||
- 7z x meson-0.47.1.tar.gz |
||||
- move dist\meson-0.47.1.tar . |
||||
- 7z x meson-0.47.1.tar |
||||
- rmdir dist |
||||
- del meson-0.47.1.tar meson-0.47.1.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.47.1\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: X7Ro8Y2RWYo/M1AAn93f9X0dEQFvu7gPb6li2eKRtzPYLGj/JKm7MNWRw2cCcjm6 |
||||
artifact: libepoxy-shared-$(pout) |
||||
draft: false |
||||
prerelease: false |
||||
on: |
||||
appveyor_repo_tag: true # deploy on tag push only |
@ -0,0 +1,23 @@ |
||||
name: MSVC Build |
||||
|
||||
on: |
||||
push: |
||||
branches: [ master ] |
||||
pull_request: |
||||
branches: [ master ] |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: windows-latest |
||||
env: |
||||
PYTHONIOENCODING: "utf-8" |
||||
steps: |
||||
- uses: actions/checkout@master |
||||
- uses: actions/setup-python@v1 |
||||
- uses: seanmiddleditch/gha-setup-vsdevenv@master |
||||
- uses: BSFishy/meson-build@v1.0.1 |
||||
with: |
||||
action: test |
||||
directory: _build |
||||
options: --verbose --fatal-meson-warnings |
||||
meson-version: 0.54.3 |
@ -0,0 +1,27 @@ |
||||
name: MSYS2 Build |
||||
|
||||
on: |
||||
push: |
||||
branches: [ master ] |
||||
pull_request: |
||||
branches: [ master ] |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: windows-latest |
||||
defaults: |
||||
run: |
||||
shell: msys2 {0} |
||||
env: |
||||
PYTHONIOENCODING: "utf-8" |
||||
steps: |
||||
- uses: actions/checkout@master |
||||
- uses: msys2/setup-msys2@v2 |
||||
with: |
||||
msystem: MINGW64 |
||||
update: true |
||||
install: base-devel git mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-pkg-config mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-pip mingw-w64-x86_64-toolchain |
||||
- name: Build |
||||
run: | |
||||
meson setup _build |
||||
meson compile -C _build |
@ -1,55 +0,0 @@ |
||||
sudo: false |
||||
|
||||
branches: |
||||
except: |
||||
- debian |
||||
- khronos-registry |
||||
|
||||
os: |
||||
- linux |
||||
- osx |
||||
|
||||
compiler: |
||||
- gcc |
||||
- clang |
||||
|
||||
language: |
||||
- c |
||||
|
||||
services: |
||||
- docker |
||||
|
||||
matrix: |
||||
exclude: |
||||
- os: osx |
||||
compiler: gcc |
||||
|
||||
before_install: |
||||
- | |
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
||||
brew update |
||||
brew unlink python@2 |
||||
brew install python@3 meson |
||||
# Use a Ninja with QuLogic's patch: https://github.com/ninja-build/ninja/issues/1219 |
||||
mkdir -p $HOME/tools; curl -L http://nirbheek.in/files/binaries/ninja/macos/ninja -o $HOME/tools/ninja; chmod +x $HOME/tools/ninja |
||||
fi |
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull ebassi/epoxyci ; fi |
||||
|
||||
before_script: |
||||
- | |
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then |
||||
echo FROM ebassi/epoxyci > Dockerfile |
||||
echo ADD . /root >> Dockerfile |
||||
echo WORKDIR /root >> Dockerfile |
||||
docker build -t withgit . |
||||
fi |
||||
|
||||
env: |
||||
- BUILD_OPTS="" |
||||
- BUILD_OPTS="-Dglx=no" |
||||
- BUILD_OPTS="-Degl=no" |
||||
- BUILD_OPTS="-Dx11=false" |
||||
|
||||
script: |
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run withgit /bin/sh -c "CC=$CC .travis/epoxy-ci-linux.sh $BUILD_OPTS" ; fi |
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then /bin/sh -c "CC=$CC .travis/epoxy-ci-osx.sh $BUILD_OPTS" ; fi |
@ -1,29 +0,0 @@ |
||||
FROM debian:stretch-slim |
||||
MAINTAINER Emmanuele Bassi <ebassi@gmail.com> |
||||
|
||||
RUN apt-get update -qq && \ |
||||
apt-get install --no-install-recommends -qq -y \ |
||||
ca-certificates \ |
||||
clang \ |
||||
gcc \ |
||||
libgl1-mesa-dev \ |
||||
libegl1-mesa-dev \ |
||||
libgles1-mesa-dev \ |
||||
libgles2-mesa-dev \ |
||||
libgl1-mesa-dri \ |
||||
locales \ |
||||
ninja-build \ |
||||
pkg-config \ |
||||
python3 \ |
||||
python3-pip \ |
||||
python3-setuptools \ |
||||
python3-wheel \ |
||||
xvfb && \ |
||||
rm -rf /usr/share/doc/* /usr/share/man/* |
||||
|
||||
RUN locale-gen C.UTF-8 && /usr/sbin/update-locale LANG=C.UTF-8 |
||||
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 |
||||
|
||||
RUN pip3 install meson |
||||
|
||||
WORKDIR /root |
@ -1,12 +0,0 @@ |
||||
#!/bin/bash |
||||
|
||||
set -xe |
||||
|
||||
srcdir="$(pwd)/.." |
||||
|
||||
sudo docker build \ |
||||
--tag "epoxyci" \ |
||||
--file "Dockerfile" . |
||||
sudo docker run --rm \ |
||||
--volume "${srcdir}:/root/epoxy" \ |
||||
--tty --interactive "epoxyci" bash |
Loading…
Reference in new issue