Init
This commit is contained in:
commit
d26c0c117e
3 changed files with 33 additions and 0 deletions
13
.drone.yml
Normal file
13
.drone.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: arminfriedl/xwim-build
|
||||||
|
tags: latest
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN apk add meson ninja spdlog-dev fmt-dev libarchive-dev \
|
||||||
|
g++ libstdc++ libc-dev libgcc\
|
||||||
|
&& mkdir /build/
|
||||||
|
|
||||||
|
COPY ./entrypoint.sh /usr/local/bin
|
||||||
|
|
||||||
|
WORKDIR /build/
|
||||||
|
|
||||||
|
CMD ["entrypoint.sh"]
|
9
entrypoint.sh
Executable file
9
entrypoint.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pwd
|
||||||
|
|
||||||
|
ls -al
|
||||||
|
|
||||||
|
meson target
|
||||||
|
|
||||||
|
ninja -C target
|
Loading…
Reference in a new issue