Skip to content

Commit

Permalink
ci: Run tests in parallel on macOS and FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
tavianator committed Oct 23, 2023
1 parent e1390e2 commit 70fe3b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
- name: Run tests
run: |
make -j$(sysctl -n hw.ncpu) distcheck
jobs=$(sysctl -n hw.ncpu)
make -j$jobs distcheck JOBS=-j$jobs
freebsd:
name: FreeBSD
Expand All @@ -82,4 +83,4 @@ jobs:
mkdir ~/.ssh
printf 'Host %s\n\tStrictHostKeyChecking=accept-new\n\tUser github\n' "$spurion" >~/.ssh/config
rsync -rl --delete . "[$spurion]:bfs"
ssh "$spurion" '. ~/.ssh/rc; gmake -C bfs -j$(sysctl -n hw.ncpu) distcheck CC=clang16'
ssh "$spurion" '. ~/.ssh/rc; gmake -C bfs -j$(nproc) distcheck CC=clang16 JOBS=-j$(nproc)'

0 comments on commit 70fe3b1

Please sign in to comment.