Skip to content

Commit ea4bd2f

Browse files
authored
Update cmake.yml
1 parent c1ed960 commit ea4bd2f

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/cmake.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -174,44 +174,44 @@ jobs:
174174

175175
- name: Build
176176
run: cmake --build '${{github.workspace}}/build' --config ${{env.BUILD_TYPE}}
177-
macos:
178-
runs-on: macos-latest
179-
name: macos-latest-Qt-${{ matrix.qt_version }}-static-${{ matrix.static }}
180-
needs: check-code-style
181-
strategy:
182-
fail-fast: false
183-
matrix:
184-
macos_version: [12]
185-
qt_version: [5.15.2, 6.4.0]
186-
static: [ON, OFF]
187-
188-
steps:
189-
- name: Checkout
190-
uses: actions/checkout@v4
191-
with:
192-
fetch-tags: true
177+
# macos:
178+
# runs-on: macos-latest
179+
# name: macos-latest-Qt-${{ matrix.qt_version }}-static-${{ matrix.static }}
180+
# needs: check-code-style
181+
# strategy:
182+
# fail-fast: false
183+
# matrix:
184+
# macos_version: [12]
185+
# qt_version: [5.15.2, 6.4.0]
186+
# static: [ON, OFF]
187+
188+
# steps:
189+
# - name: Checkout
190+
# uses: actions/checkout@v4
191+
# with:
192+
# fetch-tags: true
193193

194-
# https://github.com/actions/checkout/issues/1781
195-
# workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
196-
- name: Fetch tags
197-
run: git fetch --prune --unshallow --tags
198-
199-
- name: Install Qt
200-
uses: jurplel/install-qt-action@v3
201-
with:
202-
version: ${{ matrix.qt_version }}
203-
cache: 'true'
204-
cache-key-prefix: ${{ runner.os }}-Qt-Cache-${{ matrix.qt_version }}
205-
dir: ${{ github.workspace }}/Qt
206-
207-
- name: Configure CMake for Qt5
208-
if: "startsWith(matrix.qt_version, '5.')"
209-
run: cmake -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build"
210-
211-
212-
- name: Configure CMake for Qt6
213-
if: "startsWith(matrix.qt_version, '6.')"
214-
run: cmake -DUSE_QT6=ON -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build"
194+
# # https://github.com/actions/checkout/issues/1781
195+
# # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
196+
# - name: Fetch tags
197+
# run: git fetch --prune --unshallow --tags
198+
199+
# - name: Install Qt
200+
# uses: jurplel/install-qt-action@v3
201+
# with:
202+
# version: ${{ matrix.qt_version }}
203+
# cache: 'true'
204+
# cache-key-prefix: ${{ runner.os }}-Qt-Cache-${{ matrix.qt_version }}
205+
# dir: ${{ github.workspace }}/Qt
206+
207+
# - name: Configure CMake for Qt5
208+
# if: "startsWith(matrix.qt_version, '5.')"
209+
# run: cmake -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build"
210+
211+
212+
# - name: Configure CMake for Qt6
213+
# if: "startsWith(matrix.qt_version, '6.')"
214+
# run: cmake -DUSE_QT6=ON -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build"
215215

216-
- name: Build
217-
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
216+
# - name: Build
217+
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

0 commit comments

Comments
 (0)