summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2022-09-05 08:06:53 -0400
committerAnthony Green <green@moxielogic.com>2022-09-05 08:06:53 -0400
commitf969a50aadfdf288797d5492dfb768d9916b9477 (patch)
treec28e0378f611fb9e3095d8788f3b22eb7da24616 /.github
parent8df671a35e517f27da78b1b933f19294cfc7224f (diff)
downloadlibffi-f969a50aadfdf288797d5492dfb768d9916b9477.tar.gz
Try {{}}
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3d5ae04..4b6b3e5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -144,30 +144,30 @@ jobs:
echo ${{ steps.check-host.output.HOST_OK }}
- name: Copy source to remote host
- if: steps.check-host.output.HOST_OK == "YES"
+ if: ${{ steps.check-host.output.HOST_OK == "YES" }}
run: |
echo ${{ steps.check-host.output.HOST_OK }}
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 == "YES"
+ if: ${{ steps.check-host.output.HOST_OK == "YES" }}
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 == "YES"
+ if: ${{ steps.check-host.output.HOST_OK == "YES" }}
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 == "YES"
+ if: ${{ steps.check-host.output.HOST_OK == "YES" }}
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 == "YES"
+ if: ${{ steps.check-host.output.HOST_OK == "YES" }}
run: |
wget -qO - https://rl.gl/cli/rlgl-linux-amd64.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl;