summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-10-03 10:17:12 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-10-03 11:27:56 -0400
commit9b1ee97d13985f42b09f02c8a25459a910004eb5 (patch)
tree5c1eac32349e937d81bd24b7ab0fb637a1f78f0b /.github
parentee6eea07f8a2c73d0b49f8e2199016116a411557 (diff)
downloadbfs-9b1ee97d13985f42b09f02c8a25459a910004eb5.tar.xz
ci/freebsd: Use tailscale ssh
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 3 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index db7baca..e781055 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -71,17 +71,10 @@ jobs:
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- - name: Configure SSH
- env:
- SSH_KEY: ${{ secrets.SSH_KEY }}
- run: |
- mkdir ~/.ssh
- printf '%s' "$SSH_KEY" >~/.ssh/github-actions
- chmod 0600 ~/.ssh/github-actions
- printf 'Host %s\n\tStrictHostKeyChecking=accept-new\n\tUser github\n\tIdentityFile ~/.ssh/github-actions\n' "$(tailscale ip -6 spurion)" >~/.ssh/config
-
- name: Run tests
run: |
spurion=$(tailscale ip -6 spurion)
+ mkdir ~/.ssh
+ printf 'Host %s\n\tStrictHostKeyChecking=accept-new\n\tUser github\n' "$spurion" >~/.ssh/config
rsync -rl --delete . "[$spurion]:bfs"
- ssh "$spurion" 'gmake -C bfs -j$(sysctl -n hw.ncpu) distcheck CC=clang16'
+ ssh "$spurion" '. ~/.ssh/rc; gmake -C bfs -j$(sysctl -n hw.ncpu) distcheck CC=clang16'