mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 06:45:07 +00:00
Initial GitLab CI YAML
This commit is contained in:
parent
8b2d34956c
commit
ead6215e7e
26
.gitlab-ci.yml
Normal file
26
.gitlab-ci.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
variables:
|
||||||
|
REPO_OPENGL: "http://10.0.0.2:81/glew/OpenGL-Registry.git"
|
||||||
|
REPO_EGL: "http://10.0.0.2:81/glew/EGL-Registry.git"
|
||||||
|
# REPO_GLFIXES: "https://github.com/nigels-com/glfixes"
|
||||||
|
|
||||||
|
job:
|
||||||
|
script:
|
||||||
|
- make -C auto clobber
|
||||||
|
- make extensions
|
||||||
|
- make dist-src
|
||||||
|
- make clean; SYSTEM=linux make
|
||||||
|
- make clean; SYSTEM=linux-osmesa make
|
||||||
|
- make clean; SYSTEM=linux-egl make
|
||||||
|
- make clean; SYSTEM=linux-clang make
|
||||||
|
- make clean; SYSTEM=linux-clang-egl make
|
||||||
|
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' . ; make; popd
|
||||||
|
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' -DGLEW_OSMESA=1 . ; make; popd
|
||||||
|
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' -DGLEW_EGL=1 . ; make; popd
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
|
||||||
|
when: on_success
|
||||||
|
expire_in: 1 year
|
||||||
|
paths:
|
||||||
|
- glew-*.tgz
|
||||||
|
- glew-*.zip
|
@ -15,6 +15,10 @@ PYTHON ?= python
|
|||||||
EXT = extensions/gl
|
EXT = extensions/gl
|
||||||
CORE = core/gl
|
CORE = core/gl
|
||||||
|
|
||||||
|
REPO_OPENGL ?= https://github.com/KhronosGroup/OpenGL-Registry.git
|
||||||
|
REPO_EGL ?= https://github.com/KhronosGroup/EGL-Registry.git
|
||||||
|
REPO_GLFIXES ?= https://github.com/nigels-com/glfixes
|
||||||
|
|
||||||
BIN = bin
|
BIN = bin
|
||||||
SRC = src
|
SRC = src
|
||||||
BLACKLIST = blacklist
|
BLACKLIST = blacklist
|
||||||
@ -89,9 +93,9 @@ OpenGL-Registry/.dummy:
|
|||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
@echo "Downloading OpenGL-Registry"
|
@echo "Downloading OpenGL-Registry"
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
git clone https://github.com/KhronosGroup/OpenGL-Registry.git OpenGL-Registry
|
git clone $(REPO_OPENGL) OpenGL-Registry
|
||||||
git clone https://github.com/KhronosGroup/EGL-Registry.git EGL-Registry
|
git clone $(REPO_EGL) EGL-Registry
|
||||||
git clone --branch glew https://github.com/nigels-com/glfixes glfixes
|
git clone --branch glew $(REPO_GLFIXES) glfixes
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(EXT)/.dummy: OpenGL-Registry/.dummy
|
$(EXT)/.dummy: OpenGL-Registry/.dummy
|
||||||
|
Loading…
Reference in New Issue
Block a user