Commit 0c267c11 authored by Daniel Schiffner's avatar Daniel Schiffner

Initial commit

parent 5a26dac6
Pipeline #6354 passed with stage
in 8 minutes and 19 seconds
build-linux:
tags:
- docker builder
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE/linux:latest
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG -f Dockerfile-linux .
- docker push $IMAGE_TAG
build-windows:
tags:
- docker builder
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE/windows:latest
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG -f Dockerfile-windows .
- docker push $IMAGE_TAG
FROM gcc:10
USER root
RUN apt update &&\
apt install -y -qq python3 python3-pip python3-setuptools python3-wheel ninja-build > /dev/null &&\
pip3 install meson
USER meson
FROM dockcross/windows-static-x64-posix
USER root
RUN apt update &&\
echo "deb http://ftp.fr.debian.org/debian testing main" >> /etc/apt/sources.list && \
apt update && \
apt install -y -qq python3 python3-pip python3-setuptools python3-wheel ninja-build > /dev/null &&\
pip3 install meson
USER meson
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment