From f4ce432521c0f9a1ef7b12bc063c770b5e6e852e Mon Sep 17 00:00:00 2001 From: ckaros Date: Thu, 7 Sep 2023 22:08:21 -0400 Subject: [PATCH] debug workflow --- .github/workflows/build-test.yml | 74 ++++++++++++++++---------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 0573e16c..40eedf89 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -157,40 +157,40 @@ jobs: name: build-test-artifacts path: upload/*.* -cross-build: - runs-on: ubuntu-latest - defaults: - run: - shell: bash - working-directory: ./ - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Clone ci-tools repo - uses: actions/checkout@v3 - with: - repository: pyswmm/ci-tools - ref: master - path: ci-tools - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - with: - platforms: all - - - name: start docker - run: docker run -id --name cross --volume="./:/swmm" karosc/build_swmm_arm64:latest - - - name: Build and unit test - run: docker exec cross /bin/bash -c "cd /swmm && ./ci-tools/linux/make.sh -t -g 'Unix Makefiles'" - - - name: Build for reg test - run: docker exec cross /bin/bash -c "cd /swmm && ./.github/docker_tools/run_reg_test.sh" - - - name: Upload artifacts - if: ${{ always() }} - uses: actions/upload-artifact@v3 - with: - name: build-test-artifacts - path: upload/*.* + cross-build: + runs-on: ubuntu-latest + defaults: + run: + shell: bash + working-directory: ./ + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Clone ci-tools repo + uses: actions/checkout@v3 + with: + repository: pyswmm/ci-tools + ref: master + path: ci-tools + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: all + + - name: start docker + run: docker run -id --name cross --volume="./:/swmm" karosc/build_swmm_arm64:latest + + - name: Build and unit test + run: docker exec cross /bin/bash -c "cd /swmm && ./ci-tools/linux/make.sh -t -g 'Unix Makefiles'" + + - name: Build for reg test + run: docker exec cross /bin/bash -c "cd /swmm && ./.github/docker_tools/run_reg_test.sh" + + - name: Upload artifacts + if: ${{ always() }} + uses: actions/upload-artifact@v3 + with: + name: build-test-artifacts + path: upload/*.*