From 95ac30070823bea03da6610db2b0684fd96e1f7e Mon Sep 17 00:00:00 2001 From: sappho Date: Fri, 14 Jul 2023 01:55:26 -0400 Subject: add ci scripts, update makefile --- ci/build.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ci/build.sh (limited to 'ci/build.sh') diff --git a/ci/build.sh b/ci/build.sh new file mode 100644 index 0000000..1de802e --- /dev/null +++ b/ci/build.sh @@ -0,0 +1,22 @@ +sdfasd#!/bin/bash + +# we do this so that we can be agnostic about where we're invoked from +# meaning you can exec this script anywhere and it should work the same +thisiswhereiam=${BASH_SOURCE[0]} +# this should be /whatever/directory/structure/Open-Fortress-Source +script_folder=$( cd -- "$( dirname -- "${thisiswhereiam}" )" &> /dev/null && pwd ) +# this should be /whatever/directory/structure/[sdkmod-source]/build +build_dir="build" + +echo ${thisiswhereiam} +echo ${script_folder} +docker run -it \ +--mount type=bind,source=${script_folder}/../,target=/mnt/curl \ +registry.gitlab.steamos.cloud/steamrt/sniper/sdk \ +bash +#/mnt/curl/ci/_docker_script.sh + + + +# +# debian:11-slim \ -- cgit v1.2.3