diff --git a/.github/workflows/issue_comment.yml b/.github/workflows/issue_comment.yml index 7398d128a..5f8f46081 100644 --- a/.github/workflows/issue_comment.yml +++ b/.github/workflows/issue_comment.yml @@ -18,3 +18,5 @@ jobs: commands: | format benchmark + rebase + rerun diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6108f714a..6421f0809 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,7 +134,7 @@ jobs: strategy: fail-fast: false matrix: ${{ fromJson(needs.matrix_prep.outputs.matrix) }} - runs-on: macos-latest + runs-on: macos-11 steps: - uses: actions/checkout@v2 with: @@ -155,7 +155,7 @@ jobs: - name: Download Pre-Built LLVM 10.0.0 run: python misc/ci_download.py env: - CI_PLATFORM: macos-latest + CI_PLATFORM: macos-11 - name: Create Python Wheel run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a02363def..d64d6e42b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -227,11 +227,11 @@ jobs: build_and_test_cpu_mac: name: Build and Test macos (CPU) needs: [check_code_format, check_files] - timeout-minutes: 60 + timeout-minutes: 90 strategy: matrix: include: - - os: macos-latest + - os: macos-11 python: 3.7 with_cc: OFF with_cpp_tests: ON @@ -265,12 +265,15 @@ jobs: - name: Build & Install run: | + brew install llvm@11 + export CXX=/usr/local/opt/llvm@11/bin/clang++ if [[ ${{needs.check_files.outputs.run_job}} == false ]]; then exit 0 fi mkdir -p sccache_cache export PATH=`pwd`/taichi-llvm/bin/:$PATH .github/workflows/scripts/unix_build.sh + mv ./dist/taichi-0.8.10-cp37-cp37m-macosx_11_0_x86_64.whl ./dist/taichi-0.8.10-cp37-cp37m-macosx_10_15_x86_64.whl env: TAICHI_CMAKE_ARGS: -DTI_WITH_OPENGL:BOOL=OFF -DTI_WITH_CC:BOOL=${{ matrix.with_cc }} -DTI_WITH_VULKAN:BOOL=OFF -DTI_BUILD_TESTS:BOOL=${{ matrix.with_cpp_tests }} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache CXX: clang++