Revert macOS workflow to run on x86 (#14937)

This commit is contained in:
sfan5 2024-08-09 11:18:56 +02:00 committed by GitHub
parent 8ef2c42150
commit f5a53647f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,6 +10,7 @@ on:
- 'src/**.cpp' - 'src/**.cpp'
- 'irr/**.[ch]' - 'irr/**.[ch]'
- 'irr/**.cpp' - 'irr/**.cpp'
- 'irr/**.mm' # Objective-C(++)
- '**/CMakeLists.txt' - '**/CMakeLists.txt'
- 'cmake/Modules/**' - 'cmake/Modules/**'
- '.github/workflows/macos.yml' - '.github/workflows/macos.yml'
@ -28,7 +29,8 @@ on:
jobs: jobs:
build: build:
runs-on: macos-latest # use macOS 13 since it's the last one that still runs on x86
runs-on: macos-13
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
@ -58,6 +60,7 @@ jobs:
- name: CPack - name: CPack
run: | run: |
cd build cd build
rm -rf macos
cmake .. -DINSTALL_DEVTEST=FALSE cmake .. -DINSTALL_DEVTEST=FALSE
cpack -G ZIP -B macos cpack -G ZIP -B macos