summaryrefslogtreecommitdiffstats
path: root/.github/workflows/freebsd.yml
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-02-24 10:49:27 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-02-24 10:49:27 -0500
commit81bc52baa51f7615f11338b80c98dff86c1578f7 (patch)
tree517fac0c9f4427fa8ff31269cc908966bd005f5b /.github/workflows/freebsd.yml
parent9e86475fd0f0b7b010abaf6f2df5cbbb21dc8dfb (diff)
downloadbfs-81bc52baa51f7615f11338b80c98dff86c1578f7.tar.xz
ci: Unify multiple workflows into one with separate jobs
Diffstat (limited to '.github/workflows/freebsd.yml')
-rw-r--r--.github/workflows/freebsd.yml33
1 files changed, 0 insertions, 33 deletions
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
deleted file mode 100644
index 82c0275..0000000
--- a/.github/workflows/freebsd.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-name: FreeBSD
-
-on: [push, pull_request]
-
-jobs:
- build:
- if: ${{ github.repository_owner == 'tavianator' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
-
- runs-on: ubuntu-latest
-
- concurrency: muon
-
- steps:
- - uses: actions/checkout@v2
-
- - uses: tailscale/github-action@main
- with:
- authkey: ${{ secrets.TAILSCALE_KEY }}
-
- - 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 muon)" >~/.ssh/config
-
- - name: Run tests
- run: |
- muon=$(tailscale ip -6 muon)
- rsync -rl --delete . "[$muon]:bfs"
- ssh "$muon" 'gmake -C bfs -j$(sysctl -n hw.ncpu) distcheck'