fix(ci): do not depend on number of procesors with job name (#1863)

This commit is contained in:
Vaclav Pavlin 2023-07-31 15:04:46 +02:00 committed by GitHub
parent bceaaa650d
commit 2b39f3efcc

View File

@ -6,24 +6,23 @@ on:
- 'v*' # "e.g. v0.4" - 'v*' # "e.g. v0.4"
workflow_dispatch: workflow_dispatch:
env:
NPROC: 2
jobs: jobs:
build-and-upload: build-and-upload:
strategy: strategy:
matrix: matrix:
env:
- { NPROC: 2 }
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
arch: [amd64] arch: [amd64]
include: include:
- os: macos-latest - os: macos-latest
experimental: false
arch: arm64 arch: arm64
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: ${{ matrix.env }}
timeout-minutes: 60 timeout-minutes: 60
name: ${{ matrix.os }} - ${{ matrix.env.NPROC }} processes name: ${{ matrix.os }} - ${{ matrix.arch }}
steps: steps:
- name: Checkout code - name: Checkout code