Skip to content

Commit

Permalink
fix: stupid matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Mar 16, 2024
1 parent 397a1de commit f0feb03
Showing 1 changed file with 30 additions and 19 deletions.
49 changes: 30 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,47 +35,58 @@ jobs:
build:
strategy:
matrix:
is-release:
- ${{ startsWith(github.ref, 'refs/tags/') }}
is-release: startsWith(github.ref, 'refs/tags/')
include:
- os: windows-latest
- is-release: false
os: windows-latest
rust-target: x86_64-pc-windows-msvc
platform: win32
arch: x64
regular-build: true
- os: windows-latest
- is-release: false
os: ubuntu-20.04
rust-target: x86_64-unknown-linux-gnu
platform: linux
arch: x64
- is-release: false
os: macos-11
rust-target: aarch64-apple-darwin
platform: darwin
arch: arm64
- is-release: true
os: windows-latest
rust-target: x86_64-pc-windows-msvc
platform: win32
arch: x64
- is-release: true
os: windows-latest
rust-target: aarch64-pc-windows-msvc
platform: win32
arch: arm64
regular-build: false
- os: ubuntu-20.04
- is-release: true
os: ubuntu-20.04
rust-target: x86_64-unknown-linux-gnu
platform: linux
arch: x64
regular-build: true
- os: ubuntu-20.04
- is-release: true
os: ubuntu-20.04
rust-target: aarch64-unknown-linux-gnu
platform: linux
arch: arm64
regular-build: false
- os: ubuntu-20.04
- is-release: true
os: ubuntu-20.04
rust-target: arm-unknown-linux-gnueabihf
platform: linux
arch: armhf
regular-build: false
- os: macos-11
- is-release: true
os: macos-11
rust-target: x86_64-apple-darwin
platform: darwin
arch: x64
regular-build: false
- os: macos-11
- is-release: true
os: macos-11
rust-target: aarch64-apple-darwin
platform: darwin
arch: arm64
regular-build: true
# Run only the amd64 build in pull reqs:
exclude:
- { is-release: false, regular-build: false }
name: build (${{ matrix.platform }}-${{ matrix.arch }})
runs-on: ${{ matrix.os }}
env:
Expand Down

0 comments on commit f0feb03

Please sign in to comment.