Skip to content

Commit

Permalink
Disable macOS build in CI until further notice
Browse files Browse the repository at this point in the history
The x86-64 cross-compilation is very broken and it will not be trivial
to fix.

Reverts "Trying to fix CI as macos-12 was deprecated and failing now"

This reverts commit 23d727f.

Change-Id: Ida993e882035c2e2019bb2dc948af352f7ecbd16
  • Loading branch information
hikari-no-yume committed Nov 4, 2024
1 parent 23d727f commit bb6c104
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .github/workflows/touchHLE_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,53 +10,53 @@ env:
CARGO_TERM_COLOR: always

jobs:
build-osx:

# TODO: Use macos-latest once AArch64 cross-compile for x86_64 works
runs-on: macos-13

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # touchHLE's git-describe versioning needs tag history
- name: Install clang-format
run: brew install clang-format
- name: Check formatting
run: dev-scripts/format.sh --check
- name: Get Submodules
run: git submodule update --init
- name: Install Boost
run: brew install boost
# This is the earliest point at which we can do linting: clippy will end up
# building dynarmic, which needs Boost, but we don't need LLVM until
# building tests.
- name: Lint
run: dev-scripts/lint.sh
- name: Try to get cached copy of LLVM
id: cache-llvm
uses: actions/cache@v3
with:
path: tests/llvm
key: llvm_12_0_0_macOS_x64
- if: ${{ steps.cache-llvm.outputs.cache-hit != 'true' }}
name: Download LLVM
run: curl -L -O "https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-apple-darwin.tar.xz"
- if: ${{ steps.cache-llvm.outputs.cache-hit != 'true' }}
name: Extract LLVM
run: tar -xf clang+llvm-12.0.0-x86_64-apple-darwin.tar.xz && mkdir tests/llvm && mv clang+llvm-12.0.0-x86_64-apple-darwin/* tests/llvm
- name: Test
run: cargo test
- name: Build
run: cargo build --release && mv target/release/touchHLE .
- uses: actions/upload-artifact@v3
with:
name: touchHLE_macOS_x86_64
path: touchHLE
- uses: actions/upload-artifact@v3
with:
name: TestApp_built_on_macOS
path: tests/TestApp.app

# build-osx:
#
# # TODO: Use macos-latest once AArch64 cross-compile for x86_64 works
# runs-on: macos-12
#
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0 # touchHLE's git-describe versioning needs tag history
# - name: Install clang-format
# run: brew install clang-format
# - name: Check formatting
# run: dev-scripts/format.sh --check
# - name: Get Submodules
# run: git submodule update --init
# - name: Install Boost
# run: brew install boost
# # This is the earliest point at which we can do linting: clippy will end up
# # building dynarmic, which needs Boost, but we don't need LLVM until
# # building tests.
# - name: Lint
# run: dev-scripts/lint.sh
# - name: Try to get cached copy of LLVM
# id: cache-llvm
# uses: actions/cache@v3
# with:
# path: tests/llvm
# key: llvm_12_0_0_macOS_x64
# - if: ${{ steps.cache-llvm.outputs.cache-hit != 'true' }}
# name: Download LLVM
# run: curl -L -O "https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-apple-darwin.tar.xz"
# - if: ${{ steps.cache-llvm.outputs.cache-hit != 'true' }}
# name: Extract LLVM
# run: tar -xf clang+llvm-12.0.0-x86_64-apple-darwin.tar.xz && mkdir tests/llvm && mv clang+llvm-12.0.0-x86_64-apple-darwin/* tests/llvm
# - name: Test
# run: cargo test
# - name: Build
# run: cargo build --release && mv target/release/touchHLE .
# - uses: actions/upload-artifact@v3
# with:
# name: touchHLE_macOS_x86_64
# path: touchHLE
# - uses: actions/upload-artifact@v3
# with:
# name: TestApp_built_on_macOS
# path: tests/TestApp.app
#
build-android:

runs-on: ubuntu-latest
Expand Down

0 comments on commit bb6c104

Please sign in to comment.