fixed some errors
This commit is contained in:
parent
54682b4a39
commit
00eab344ec
|
@ -9,4 +9,4 @@ jobs:
|
|||
- name: Setup SDK
|
||||
run: source ./.env && docker pull servostar/gemstone:sdk-"$SDK"
|
||||
- name: Compile
|
||||
run: source ./.env && sh run-docker-build.sh
|
||||
run: set -a && source ./.env && sh run-docker-build.sh
|
||||
|
|
|
@ -10,6 +10,6 @@ COPY --chown=lorang tests /home/lorang/tests
|
|||
COPY --chown=lorang CMakeLists.txt /home/lorang/
|
||||
COPY --chown=lorang run-check-test.sh /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 .
|
||||
|
|
|
@ -11,11 +11,16 @@ echo "+--------------------------------------+"
|
|||
if [ -z "$SDK" ]; then
|
||||
echo "no SDK specified, sourcing .env"
|
||||
source ./.env
|
||||
fi
|
||||
|
||||
if [ -z "$SDK" ]; then
|
||||
echo "no SDK specified"
|
||||
exit 1
|
||||
if [ -z "$SDK" ]; then
|
||||
echo "no SDK specified"
|
||||
exit 1
|
||||
else
|
||||
echo "using SDK $SDK"
|
||||
fi
|
||||
|
||||
else
|
||||
echo "using SDK $SDK"
|
||||
fi
|
||||
|
||||
echo "+--------------------------------------+"
|
||||
|
|
Loading…
Reference in New Issue