Skip to content

Commit

Permalink
Change #10
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVieriu97 committed Feb 24, 2023
1 parent 009332e commit 924fb47
Showing 1 changed file with 19 additions and 38 deletions.
57 changes: 19 additions & 38 deletions .github/workflows/mac-mps.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
\name: Mac MPS
name: Mac MPS

on:
# push:
# tags:
# - ciflow/mps/*
workflow_dispatch:
# workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true

jobs:
macos-py39-arm64-build:
name: macos-py39-arm64
macos-12-py3-arm64-build:
name: macos-12-py3-arm64
uses: ./.github/workflows/_mac-build.yml
with:
sync-tag: macos-py39-arm64-build
build-environment: macos-py39-arm64
sync-tag: macos-12-py3-arm64-build
build-environment: macos-12-py3-arm64
xcode-version: "13.3.1"
runner-type: macos-builder
build-generates-artifacts: true
Expand All @@ -31,54 +31,35 @@ jobs:
MACOS_SCCACHE_S3_ACCESS_KEY_ID: ${{ secrets.MACOS_SCCACHE_S3_ACCESS_KEY_ID }}
MACOS_SCCACHE_S3_SECRET_ACCESS_KEY: ${{ secrets.MACOS_SCCACHE_S3_SECRET_ACCESS_KEY }}

# macos-py38-arm64-build:
# name: macos-py38-arm64
# uses: ./.github/workflows/_mac-build.yml
# with:
# sync-tag: macos-py38-arm64-build
# build-environment: macos-py38-arm64
# xcode-version: "13.3.1"
# runner-type: macos-builder
# build-generates-artifacts: true
# # To match the one pre-installed in the m1 runners
# python_version: 3.8.12
# # We need to set the environment file here instead of trying to detect it automatically because
# # MacOS arm64 is cross-compiled from x86-64. Specifically, it means that arm64 conda environment
# # is needed when building PyTorch MacOS arm64 from x86-64
# environment-file: .github/requirements/conda-env-macOS-ARM64
# secrets:
# MACOS_SCCACHE_S3_ACCESS_KEY_ID: ${{ secrets.MACOS_SCCACHE_S3_ACCESS_KEY_ID }}
# MACOS_SCCACHE_S3_SECRET_ACCESS_KEY: ${{ secrets.MACOS_SCCACHE_S3_SECRET_ACCESS_KEY }}

macos-12_5-py3-arm64-mps-test:
name: macos-12_5-py3-arm64-mps
name: macos-12.5-py3-arm64-mps
uses: ./.github/workflows/_mac-test-mps.yml
needs: macos-py39-arm64-build
needs: macos-12-py3-arm64-build
with:
sync-tag: macos-py39-arm64-mps-test
build-environment: macos-py39-arm64
sync-tag: macos-12-py3-arm64-mps-test
build-environment: macos-12-py3-arm64
runs-on: macos-arm-12.5

macos-13_1-py3-arm64-mps-test:
name: macos-13_1-py3-arm64-mps
name: macos-13.1-py3-arm64-mps
uses: ./.github/workflows/_mac-test-mps.yml
needs: macos-py39-arm64-build
needs: macos-12-py3-arm64-build
with:
build-environment: macos-py39-arm64
build-environment: macos-12-py3-arm64
runs-on: macos-arm-13.1

macos-13_2-py3-arm64-mps-test:
name: macos-13_2-py3-arm64-mps
name: macos-13.2-py3-arm64-mps
uses: ./.github/workflows/_mac-test-mps.yml
needs: macos-py39-arm64-build
needs: macos-12-py3-arm64-build
with:
build-environment: macos-py39-arm64
build-environment: macos-12-py3-arm64
runs-on: macos-arm-13.2

macos-13_3-py3-arm64-mps-test:
name: macos-13_3-py3-arm64-mps
name: macos-13.3-py3-arm64-mps
uses: ./.github/workflows/_mac-test-mps.yml
needs: macos-py39-arm64-build
needs: macos-12-py3-arm64-build
with:
build-environment: macos-py39-arm64
build-environment: macos-12-py3-arm64
runs-on: macos-arm-13.3

0 comments on commit 924fb47

Please sign in to comment.