Skip to content

Commit

Permalink
remove-old-mac-release
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu committed Dec 18, 2024
1 parent e25b91d commit ce4da9a
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,51 +120,51 @@ jobs:
env:
PY: ${{ matrix.python }}

build_and_test_mac:
name: Build and Upload (macOS only)
needs: matrix_prep
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix_prep.outputs.matrix_osx) }}
runs-on: [self-hosted, macos-11]
env:
PY: ${{ matrix.python }}
CXX: clang++
TAICHI_CMAKE_ARGS: >-
-DTI_WITH_VULKAN:BOOL=ON
-DTI_WITH_OPENGL:BOOL=OFF
-DTI_BUILD_TESTS:BOOL=ON
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: '0'

- name: Prepare Environment
run: |
. .github/workflows/scripts/common-utils.sh
prepare-build-cache
- name: Create Python Wheel
run: |
# Use the molten-vk v1.1.10 downloaded from taichi assets
brew uninstall molten-vk -f
.github/workflows/scripts/build.py $NIGHTLY
env:
PROJECT_NAME: ${{ matrix.name }}

- name: Archive Wheel Artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/*.whl
retention-days: 20

- name: Test
run: .github/workflows/scripts/unix_test.sh
env:
TI_WANTED_ARCHS: 'cpu'
TI_SKIP_CPP_TESTS: Disabled because Vulkan is supported but not working on buildbot4
# build_and_test_mac:
# name: Build and Upload (macOS only)
# needs: matrix_prep
# strategy:
# fail-fast: false
# matrix: ${{ fromJson(needs.matrix_prep.outputs.matrix_osx) }}
# runs-on: [self-hosted, macos-11]
# env:
# PY: ${{ matrix.python }}
# CXX: clang++
# TAICHI_CMAKE_ARGS: >-
# -DTI_WITH_VULKAN:BOOL=ON
# -DTI_WITH_OPENGL:BOOL=OFF
# -DTI_BUILD_TESTS:BOOL=ON
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: 'recursive'
# fetch-depth: '0'

# - name: Prepare Environment
# run: |
# . .github/workflows/scripts/common-utils.sh
# prepare-build-cache

# - name: Create Python Wheel
# run: |
# # Use the molten-vk v1.1.10 downloaded from taichi assets
# brew uninstall molten-vk -f
# .github/workflows/scripts/build.py $NIGHTLY
# env:
# PROJECT_NAME: ${{ matrix.name }}

# - name: Archive Wheel Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: dist
# path: dist/*.whl
# retention-days: 20

# - name: Test
# run: .github/workflows/scripts/unix_test.sh
# env:
# TI_WANTED_ARCHS: 'cpu'
# TI_SKIP_CPP_TESTS: Disabled because Vulkan is supported but not working on buildbot4

build_and_test_m1:
name: Build and Upload (Apple M1)
Expand Down

0 comments on commit ce4da9a

Please sign in to comment.