20 lines
655 B
Bash
Executable File
20 lines
655 B
Bash
Executable File
#!/bin/bash
|
|
docker build -t myapp:latest -f ./.ci/dolphin/Dockerfile .
|
|
docker run -v $GITEA_WORKSPACE/:/gamecube myapp:latest /bin/bash -c ' \
|
|
export PATH="$DEVKITPPC/bin:$PATH" && \
|
|
echo "Inside Docker container:" && \
|
|
ls -l && \
|
|
echo "Current directory:" && \
|
|
realpath . && \
|
|
echo "Listing /:" && \
|
|
ls / && \
|
|
echo "Changing to /gamecube" && \
|
|
cd /gamecube && \
|
|
echo "Contents of /gamecube:" && \
|
|
ls -l && \
|
|
rm -rf build-gamecube && \
|
|
mkdir -p build-gamecube && \
|
|
cmake -S. -Bbuild-gamecube -DDUSK_TARGET_SYSTEM=gamecube -DCMAKE_TOOLCHAIN_FILE="$DEVKITPRO/cmake/GameCube.cmake" && \
|
|
cd build-gamecube && \
|
|
make VERBOSE=1
|
|
' |