From e36be94d62da356a0b6671a3d376cdad968585f4 Mon Sep 17 00:00:00 2001 From: Henri Casanova Date: Wed, 6 Nov 2024 00:39:39 -1000 Subject: [PATCH] Added logging to github action --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b33d70a9c..885a7c120 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,7 @@ jobs: COMPILER: ${{ matrix.COMPILER }} batsched: ${{ matrix.batsched }} run: | + echo "Downloading wrench..."; docker pull wrenchproject/wrench-build:${DIST}-${COMPILER}; docker run -m 4g -d -t --name=wrench wrenchproject/wrench-build:${DIST}-${COMPILER} bash; docker exec wrench git clone https://github.com/wrench-project/wrench; @@ -69,16 +70,20 @@ jobs: docker exec -w /home/wrench/wrench wrench git checkout ${BRANCH_NAME}; fi # build wrench, including unit_tests and examples + echo "Building wrench..."; docker exec wrench mkdir wrench/build; docker exec -w /home/wrench/wrench/build wrench cmake -DENABLE_BATSCHED=${batsched} -DCMAKE_VERBOSE_MAKEFILE=ON ..; docker exec -w /home/wrench/wrench/build wrench make all unit_tests examples wrench-daemon; docker exec -w /home/wrench/wrench/build wrench sudo make install # run unit_tests + echo "Running tests..."; docker exec -w /home/wrench/wrench/build wrench ./unit_tests; # run examples + echo "Running examples..."; #docker exec -w /home/wrench/wrench/build/examples wrench ./run_all_examples.sh wrench-example-batch-smpi-action; docker exec -w /home/wrench/wrench/build/examples wrench ./run_all_examples.sh # run wrench-init + echo "Testing wrench-init..."; docker exec -w /home/wrench/wrench/build wrench python3 ./tools/wrench/wrench-init/wrench-init -a ACTION -d ./wrench-init-generated-simulator docker exec -w /home/wrench/wrench/build/wrench-init-generated-simulator/build wrench cmake .. docker exec -w /home/wrench/wrench/build/wrench-init-generated-simulator/build wrench make