fixed some errors

This commit is contained in:
Sven Vogel 2024-05-17 16:02:40 +02:00
parent 54682b4a39
commit 00eab344ec
3 changed files with 11 additions and 6 deletions

View File

@ -9,4 +9,4 @@ jobs:
- name: Setup SDK - name: Setup SDK
run: source ./.env && docker pull servostar/gemstone:sdk-"$SDK" run: source ./.env && docker pull servostar/gemstone:sdk-"$SDK"
- name: Compile - name: Compile
run: source ./.env && sh run-docker-build.sh run: set -a && source ./.env && sh run-docker-build.sh

View File

@ -10,6 +10,6 @@ COPY --chown=lorang tests /home/lorang/tests
COPY --chown=lorang CMakeLists.txt /home/lorang/ COPY --chown=lorang CMakeLists.txt /home/lorang/
COPY --chown=lorang run-check-test.sh /home/lorang/ COPY --chown=lorang run-check-test.sh /home/lorang/
COPY --chown=lorang .env /home/lorang/ COPY --chown=lorang .env /home/lorang/
COPY --chown=lorang run-docker-build /home/lorang/ COPY --chown=lorang run-docker-build.sh /home/lorang/
RUN cmake . RUN cmake .

View File

@ -11,11 +11,16 @@ echo "+--------------------------------------+"
if [ -z "$SDK" ]; then if [ -z "$SDK" ]; then
echo "no SDK specified, sourcing .env" echo "no SDK specified, sourcing .env"
source ./.env source ./.env
fi
if [ -z "$SDK" ]; then if [ -z "$SDK" ]; then
echo "no SDK specified" echo "no SDK specified"
exit 1 exit 1
else
echo "using SDK $SDK"
fi
else
echo "using SDK $SDK"
fi fi
echo "+--------------------------------------+" echo "+--------------------------------------+"