Skip to content

Commit

Permalink
made build conditional again
Browse files Browse the repository at this point in the history
  • Loading branch information
soldni committed Feb 1, 2024
1 parent 54362dd commit 65f3cf9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,11 @@ jobs:
${{ matrix.task.run }}
build-linux:
# if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
strategy:
matrix:
# fails to build on x86, so removing for now; low use anyway.
# target: [x86_64, x86, aarch64, armv7]
target: [x86_64, aarch64, armv7]
name: "Build Linux (${{ matrix.target }})"
Expand Down Expand Up @@ -180,7 +181,7 @@ jobs:
path: dist

build-windows:
# if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
runs-on: windows-latest
name: "Build Windows (${{ matrix.target }})"
strategy:
Expand All @@ -204,7 +205,7 @@ jobs:
path: dist

build-macos:
# if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
runs-on: macos-latest
name: "Build macOS (${{ matrix.target }})"
strategy:
Expand Down

0 comments on commit 65f3cf9

Please sign in to comment.