Move scripts to scripts folder and remove unused docker image stuff

This commit is contained in:
Jan 2021-03-04 08:46:18 -08:00
parent ba699d36df
commit bedd44eb6b
9 changed files with 20 additions and 36 deletions

View File

@ -13,11 +13,8 @@ build-gcc:
- docker
- linux
script:
- "echo pwd: $(pwd)"
- "echo ls: $(ls)"
- "echo ls ci: $(ls ./ci)"
- "./generate.sh"
- "./build-linux.sh"
- "./scripts/make-release.sh"
test-gcc:
image: laupetin/gcc-9-multilib:latest

View File

@ -1,6 +0,0 @@
#!/bin/bash
# Go to repository root
cd "$(dirname "$0")" || exit 2
make -C build -j$(nproc) config=release_x86 all

View File

@ -1,6 +0,0 @@
FROM ubuntu:focal
RUN /bin/sh -c "dpkg --add-architecture i386"
RUN /bin/sh -c "apt-get update && apt-get upgrade -y && apt-get install -y git make g++ gcc-9 g++-9 gcc-9-multilib g++-9-multilib"
CMD ["/bin/bash"]

View File

@ -1,6 +0,0 @@
#!/bin/sh
# Go to repository root
cd "$(dirname "$0")" || exit 2
docker build -t oat .

View File

@ -1,6 +0,0 @@
#!/bin/sh
# Go to repository root
cd "$(dirname "$0")/../.." || exit 2
docker run --rm -v "$(pwd):/mnt/oat" oat /bin/bash -c "/mnt/oat/generate.sh && /mnt/oat/build-linux.sh"

View File

@ -1,8 +0,0 @@
#!/bin/sh
# Go to repository root
cd "$(dirname "$0")/../../build/lib" || exit 2
./Release_x86/tests/ObjCommonTests
./Release_x86/tests/ZoneCodeGeneratorLibTests
./Release_x86/tests/ZoneCommonTests

7
scripts/make-clean.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Go to repository root
cd "$(dirname "$0")/.." || exit 2
make -C build -j$(nproc) config=debug_x86 clean
make -C build -j$(nproc) config=release_x86 clean

6
scripts/make-debug.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# Go to repository root
cd "$(dirname "$0")/.." || exit 2
make -C build -j$(nproc) config=debug_x86 all

6
scripts/make-release.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# Go to repository root
cd "$(dirname "$0")/.." || exit 2
make -C build -j$(nproc) config=release_x86 all