diff options
author | Anthony Green <green@moxielogic.com> | 2022-09-05 07:47:46 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2022-09-05 07:47:46 -0400 |
commit | d9189beb6e61b20ff4b84fd994d895a29351c422 (patch) | |
tree | d3d281a1cd69bb5d871d2eaaef9679800e399842 | |
parent | 2bcdcda8eda82cce594d2c821fc6a87069041bcc (diff) | |
download | libffi-d9189beb6e61b20ff4b84fd994d895a29351c422.tar.gz |
Use boolean values
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dac268a..f83345a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,29 +138,29 @@ jobs: set -e - name: Copy source to remote host - if: steps.check-host.output.HOST_OK == "true" + if: steps.check-host.output.HOST_OK == true run: | scp -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3 -i /tmp/cfk -P ${{ matrix.CFARM_PORT }} -r * ${{ secrets.CFARM_USERNAME }}@${{ matrix.CFARM_HOST }}:t/$GITHUB_RUN_NUMBER - name: Run configure and make - if: steps.check-host.output.HOST_OK == "true" + if: steps.check-host.output.HOST_OK == true run: | ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3 -i /tmp/cfk -p ${{ matrix.CFARM_PORT }} ${{ secrets.CFARM_USERNAME }}@${{ matrix.CFARM_HOST }} "(cd t/$GITHUB_RUN_NUMBER; if test -f ~/.profile; then source ~/.profile; fi; ./configure --host=${{ matrix.CFARM_TRIPLE }}) || true; exit 0" ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3 -i /tmp/cfk -p ${{ matrix.CFARM_PORT }} ${{ secrets.CFARM_USERNAME }}@${{ matrix.CFARM_HOST }} "(cd t/$GITHUB_RUN_NUMBER; if test -f ~/.profile; then source ~/.profile; fi; make;) || true; exit 0" - name: Run tests - if: steps.check-host.output.HOST_OK == "true" + if: steps.check-host.output.HOST_OK == true run: | ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3 -i /tmp/cfk -p ${{ matrix.CFARM_PORT }} ${{ secrets.CFARM_USERNAME }}@${{ matrix.CFARM_HOST }} "(cd t/$GITHUB_RUN_NUMBER; if test -f ~/.profile; then source ~/.profile; fi; make check & CHECKPID=\$!; while kill -0 \$CHECKPID 2>/dev/null; do echo 'Waiting for tests to finish'; sleep 5; done;)" - name: Copy results and clean up - if: steps.check-host.output.HOST_OK == "true" + if: steps.check-host.output.HOST_OK == true run: | scp -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3 -i /tmp/cfk -P ${{ matrix.CFARM_PORT }} ${{ secrets.CFARM_USERNAME }}@${{ matrix.CFARM_HOST }}:t/$GITHUB_RUN_NUMBER/*/testsuite/*.log . ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ConnectionAttempts=3 -i /tmp/cfk -p ${{ matrix.CFARM_PORT }} ${{ secrets.CFARM_USERNAME }}@${{ matrix.CFARM_HOST }} "rm -rf t/$GITHUB_RUN_NUMBER" - name: Install rlgl and run - if: steps.check-host.output.HOST_OK == "true" + if: steps.check-host.output.HOST_OK == true run: | wget -qO - https://rl.gl/cli/rlgl-linux-amd64.tgz | \ tar --strip-components=2 -xvzf - ./rlgl/rlgl; |