Skip to content

Commit

Permalink
feat: update to Xcode 15 for github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Dec 1, 2024
1 parent db1c2ed commit 5686b8f
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 53 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ on:
push:
branches: [main]
paths:
- '.github/workflows/build-linux-x86_64.yml'
- 'CMakeLists.txt'
- 'CefViewCore'
- 'example/**'
- 'include/**'
- 'src/**'
- ".github/workflows/build-linux-x86_64.yml"
- "CMakeLists.txt"
- "CefViewCore"
- "example/**"
- "include/**"
- "src/**"
pull_request:
branches: [main]
paths:
- '.github/workflows/build-linux-x86_64.yml'
- 'CMakeLists.txt'
- 'CefViewCore'
- 'example/**'
- 'include/**'
- 'src/**'
- ".github/workflows/build-linux-x86_64.yml"
- "CMakeLists.txt"
- "CefViewCore"
- "example/**"
- "include/**"
- "src/**"

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v2
with:
submodules: 'true'
submodules: "true"

- name: Cache CEF folders
uses: actions/cache@v3
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/build-macos-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ on:
push:
branches: [main]
paths:
- '.github/workflows/build-macos-x86_64.yml'
- 'CMakeLists.txt'
- 'CefViewCore'
- 'example/**'
- 'include/**'
- 'src/**'
- ".github/workflows/build-macos-x86_64.yml"
- "CMakeLists.txt"
- "CefViewCore"
- "example/**"
- "include/**"
- "src/**"
pull_request:
branches: [main]
paths:
- '.github/workflows/build-macos-x86_64.yml'
- 'CMakeLists.txt'
- 'CefViewCore'
- 'example/**'
- 'include/**'
- 'src/**'
- ".github/workflows/build-macos-x86_64.yml"
- "CMakeLists.txt"
- "CefViewCore"
- "example/**"
- "include/**"
- "src/**"

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand All @@ -36,17 +36,17 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
setup-python: 'true'
setup-python: "true"

- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14'
xcode-version: "15"

- name: Checkout Source
uses: actions/checkout@v2
with:
submodules: 'true'
submodules: "true"

- name: Cache CEF folders
uses: actions/cache@v3
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/build-windows-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ on:
push:
branches: [main]
paths:
- '.github/workflows/build-windows-x86_64.yml'
- 'CMakeLists.txt'
- 'CefViewCore'
- 'example/**'
- 'include/**'
- 'src/**'
- ".github/workflows/build-windows-x86_64.yml"
- "CMakeLists.txt"
- "CefViewCore"
- "example/**"
- "include/**"
- "src/**"
pull_request:
branches: [main]
paths:
- '.github/workflows/build-windows-x86_64.yml'
- 'CMakeLists.txt'
- 'CefViewCore'
- 'example/**'
- 'include/**'
- 'src/**'
- ".github/workflows/build-windows-x86_64.yml"
- "CMakeLists.txt"
- "CefViewCore"
- "example/**"
- "include/**"
- "src/**"

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand All @@ -39,14 +39,14 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v2
with:
submodules: 'true'
submodules: "true"

- name: Cache CEF folders
uses: actions/cache@v3
with:
path: ${{github.workspace}}/CefViewCore/dep
key: ${{ runner.os }}-core-dep-cef

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand All @@ -60,7 +60,7 @@ jobs:
if: github.event_name != 'pull_request'
# Collect the output
run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Create SDK artifact
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v3
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

env:
# Customize the CMake build type here (Release, Debug)
Expand All @@ -29,14 +29,14 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v2
with:
submodules: 'true'
submodules: "true"

- name: Cache CEF folders
uses: actions/cache@v2
with:
path: ${{github.workspace}}/CefViewCore/dep
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -A x64 -DPROJECT_ARCH=x86_64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_DEMO=ON -DCMAKE_INSTALL_PREFIX:PATH=${{github.workspace}}/out/install

Expand All @@ -45,7 +45,7 @@ jobs:

- name: Install
run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Create SDK artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -66,12 +66,12 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
setup-python: 'false'
setup-python: "false"

- name: Checkout Source
uses: actions/checkout@v2
with:
submodules: 'true'
submodules: "true"

- name: Cache CEF folders
uses: actions/cache@v2
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v2
with:
submodules: 'true'
submodules: "true"

- name: Cache CEF folders
uses: actions/cache@v2
Expand Down Expand Up @@ -162,8 +162,8 @@ jobs:

- name: Archive all artifacts
run: for dir in ${{github.workspace}}/artifacts/*; do ( cd $dir && zip -r $dir-${{github.ref_name}}.zip . ) done
- name: Publish Release

- name: Publish Release
uses: softprops/action-gh-release@v1
with:
name: QCefView-${{github.ref_name}}
Expand Down

0 comments on commit 5686b8f

Please sign in to comment.