diff --git a/.travis.yml b/.travis.yml index f31574a..464ab11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,6 @@ script: - echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH" - docker exec --env BRANCH=$BRANCH ubuntu-build /bin/bash -c "/travis/workdir/build-tests/ubuntu/prepare-ubuntu.sh" - docker exec --env BRANCH=$BRANCH ubuntu-build /bin/bash -c "/travis/workdir/build-tests/ubuntu/compile-ubuntu.sh" + - docker exec --env BRANCH=$BRANCH arch-build /bin/bash -c "/travis/workdir/build-tests/arch/prepare-arch.sh" + - docker exec --env BRANCH=$BRANCH arch-build /bin/bash -c "/travis/workdir/build-tests/arch/compile-arch.sh" diff --git a/build-tests/arch/compile-arch.sh b/build-tests/arch/compile-arch.sh new file mode 100755 index 0000000..68ee888 --- /dev/null +++ b/build-tests/arch/compile-arch.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "Building SageCal" && \ +echo "Branch --> $BRANCH" && \ +cd /travis/workdir && \ +mkdir build && cd build && \ +cmake .. -DENABLE_CUDA=OFF && \ +make -j4 && \ +ls -alsrt ./dist/bin && \ +./dist/bin/sagecal + diff --git a/build-tests/arch/prepare-arch.sh b/build-tests/arch/prepare-arch.sh new file mode 100755 index 0000000..cbd94ad --- /dev/null +++ b/build-tests/arch/prepare-arch.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +pacman -Syy --needed --noconfirm \ + base-devel cmake git glib2 cfitsio wcslib