Skip to content

Commit

Permalink
ci: Don't build all targets on Windows and Mac
Browse files Browse the repository at this point in the history
Mac and (especially) Windows VMs are much slower than Linux. There is no
need to build all targets on all platforms and thus build only few
selected targets on slow VMs.
  • Loading branch information
sjanc committed Sep 20, 2023
1 parent bf76183 commit 964bc2d
Show file tree
Hide file tree
Showing 104 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/build_targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
cp -r .github/targets targets_ci
ls targets_ci | xargs -n1 sh -c 'echo "Testing $0"; newt build -q targets_ci/$0'
rm -rf targets_ci
- name: Build native targets
- name: Build Linux-only targets
if: matrix.os == 'ubuntu-latest'
run: |
cp -r .github/targets_native targets_ci
cp -r .github/targets_linux targets_ci
ls targets_ci | xargs -n1 sh -c 'echo "Testing $0"; newt build -q targets_ci/$0'
rm -rf targets_ci

0 comments on commit 964bc2d

Please sign in to comment.