mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 01:10:28 +03:00
CI: Update the action to package the JS REPL to macOS 13
The macOS 13 runner has Xcode 14.3. which is required to compile JS
after d6b786b3fe
(though we do have to
explicitly select Xcode 14.3, as 14.2 is the default).
This commit is contained in:
parent
2ceaeccff5
commit
f18ae19122
Notes:
sideshowbarker
2024-07-17 04:21:32 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/f18ae19122 Pull-request: https://github.com/SerenityOS/serenity/pull/18744
14
.github/workflows/serenity-js-artifacts.yml
vendored
14
.github/workflows/serenity-js-artifacts.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
os: [ubuntu-22.04]
|
||||
package_type: [Linux-x86_64]
|
||||
include:
|
||||
- os: macos-12
|
||||
- os: macos-13
|
||||
package_type: macOS-universal2
|
||||
|
||||
concurrency:
|
||||
@ -35,7 +35,13 @@ jobs:
|
||||
- name: Install dependencies macOS
|
||||
run: |
|
||||
brew install bash ninja unzip
|
||||
if: ${{ matrix.os == 'macos-12' }}
|
||||
if: ${{ matrix.os == 'macos-13' }}
|
||||
|
||||
- name: Select Xcode version
|
||||
uses: mobiledevops/xcode-select-version-action@v1
|
||||
with:
|
||||
xcode-select-version: 14.3
|
||||
if: ${{ matrix.os == 'macos-13' }}
|
||||
|
||||
- name: Check versions Ubuntu
|
||||
run: |
|
||||
@ -45,7 +51,7 @@ jobs:
|
||||
- name: Check versions macOS
|
||||
run: |
|
||||
ninja --version; clang++ --version
|
||||
if: ${{ matrix.os == 'macos-12' }}
|
||||
if: ${{ matrix.os == 'macos-13' }}
|
||||
|
||||
- name: Create build directory
|
||||
run: |
|
||||
@ -89,7 +95,7 @@ jobs:
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \
|
||||
-DBUILD_LAGOM=ON
|
||||
if: ${{ matrix.os == 'macos-12' }}
|
||||
if: ${{ matrix.os == 'macos-13' }}
|
||||
|
||||
- name: Build and package js
|
||||
working-directory: Build
|
||||
|
Loading…
Reference in New Issue
Block a user