Skip to content

Commit 961b1b0

Browse files
committed
Drop macos x86_64 from CI as Homebrew dropped it
1 parent 64b75a2 commit 961b1b0

2 files changed

Lines changed: 5 additions & 17 deletions

File tree

.github/actions/install-mono/action.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
uses: actions/cache@v5
4040
with:
4141
path: .brew-cache
42-
key: mono-brew-${{ runner.os }}-${{ inputs.arch }}
42+
key: mono-brew-${{ runner.os }}
4343

4444
# ===================================
4545

@@ -58,24 +58,17 @@ runs:
5858
if ($LASTEXITCODE) { exit $LASTEXITCODE }
5959
shell: pwsh
6060

61-
- name: Install on Windows
62-
if: runner.os == 'Windows' && inputs.arch != 'x86'
61+
- name: Install on Windows (x64)
62+
if: runner.os == 'Windows' && inputs.arch == 'x64'
6363
run: |
6464
choco install -y mono
6565
if ($LASTEXITCODE) { exit $LASTEXITCODE }
6666
shell: pwsh
6767

6868
# ===================================
69-
#
70-
- name: Install on macOS (x86_64)
71-
if: runner.os == 'macOS' && inputs.arch == 'x64'
72-
run: |
73-
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
74-
arch -x86_64 /usr/local/bin/brew install --ignore-dependencies mono
75-
shell: sh
7669

7770
- name: Install on macOS (arm64)
78-
if: runner.os == 'macOS' && inputs.arch != 'x64'
71+
if: runner.os == 'macOS'
7972
run: |
8073
brew update
8174
brew install --ignore-dependencies mono

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,10 @@ jobs:
6464
instance: ubuntu-22.04-arm
6565
suffix: ""
6666

67-
- category: macos
68-
platform: x64
69-
instance: macos-15
70-
suffix: -macos-x86_64-none
71-
7267
- category: macos
7368
platform: arm64
7469
instance: macos-15
75-
suffix: -macos-aarch64-none
70+
suffix: ""
7671

7772
python: ['3.15', '3.15t', '3.14t', '3.14', '3.13', '3.12', '3.11', '3.10']
7873

0 commit comments

Comments
 (0)