Skip to content

Commit 7e66bf8

Browse files
committed
test action
1 parent 3c9fbe5 commit 7e66bf8

File tree

2 files changed

+16
-104
lines changed

2 files changed

+16
-104
lines changed

.github/workflows/build-cmake.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ jobs:
5555
cc: clang
5656
cxx: clang++
5757
developer-dir: /Applications/Xcode_16.4.app/Contents/Developer
58+
59+
- os: windows-2025
60+
cc: cl.exe
61+
cxx: cl.exe
62+
unity: OFF
63+
5864
exclude:
5965
- environment: { unity: OFF }
6066
cmake-build-type: Release
@@ -115,7 +121,16 @@ jobs:
115121
brew install ninja qt@6
116122
pip3 install tornado --break-system-packages
117123
124+
- name: Install Qt
125+
if: ${{ runner.os == 'Windows' }}
126+
uses: jurplel/install-qt-action@v4
127+
128+
- name: Developer Command Prompt for Microsoft Visual C++
129+
if: ${{ runner.os == 'Windows' }}
130+
uses: ilammy/msvc-dev-cmd@v1
131+
118132
- name: Configure repository
133+
shell: bash
119134
run: ./configure.sh
120135

121136
- name: Configure ccache
@@ -133,13 +148,11 @@ jobs:
133148
run: |
134149
cmake . -B ${{ env.BUILD_DIR }} -G Ninja \
135150
-DCMAKE_BUILD_TYPE=${{ matrix.cmake-build-type }} \
136-
-DCMAKE_C_FLAGS=-g1 \
137-
-DCMAKE_CXX_FLAGS=-g1 \
138151
-DCMAKE_UNITY_BUILD=${UNITY_BUILD}
139152
140153
- name: Compile
141154
working-directory: ${{ env.BUILD_DIR }}
142-
run: ninja
155+
run: cmake --build .
143156

144157
- name: Prepare testing environment (Linux)
145158
if: ${{ runner.os == 'Linux' }}

.github/workflows/windows-check.yaml

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)