-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
jobs: | ||
- name: globox_build_x11 | ||
plan: | ||
- task: globox_build_x11_task | ||
config: | ||
platform: linux | ||
image_resource: | ||
type: registry-image | ||
source: | ||
repository: docker_registry:443/nullgemm/globox_image_x11_gcc | ||
ca_certs: ((docker_registry_certs)) | ||
tag: latest | ||
params: | ||
GIT_REPO_URL: globox_image_x11_gcc | ||
run: | ||
path: /scripts/build_x11.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM alpine:3.12 | ||
|
||
COPY ./scripts /scripts | ||
|
||
RUN /scripts/install.sh | ||
|
||
CMD /scripts/build_x11.sh development x11 software none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
tag=$(git tag --sort v:refname | tail -n 1) | ||
release=globox_bin_"$tag" | ||
|
||
docker cp globox_container_x11_gcc:/globox/"$release" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker build -t globox_image_x11_gcc . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
# example for a release build | ||
# $ ./run.sh /scripts/build_x11.sh release x11 software none | ||
docker run --name globox_container_x11_gcc globox_image_x11_gcc "$@" &> log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
git clone https://github.com/nullgemm/globox.git | ||
cd ./globox || exit | ||
|
||
# TODO remove | ||
git checkout next | ||
|
||
# test build | ||
./make/scripts/build.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
# git cloning the repo | ||
# bash running the build scripts | ||
# samurai building the binaries | ||
# gcc compiling the code | ||
# musl-dev standard C library | ||
# libxcb-dev libxcb | ||
# xcb-util-wm-dev xcb_icccm.h | ||
# xcb-util-image-dev xcb_image.h | ||
# xcb-util-errors-dev xcb_errors.h | ||
|
||
apk add --no-cache \ | ||
git \ | ||
bash \ | ||
samurai \ | ||
gcc \ | ||
musl-dev \ | ||
libxcb-dev \ | ||
xcb-util-wm-dev \ | ||
xcb-util-image-dev \ | ||
xcb-util-errors-dev |