Skip to content

Commit

Permalink
Update cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben2020 authored Feb 3, 2024
1 parent 11f1701 commit 17b5894
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
cc: "clang",
cxx: "clang++"
}
- {
name: "Windows MinGW Qt6",
os: windows-latest,
build_type: "Debug",
cc: "gcc",
cxx: "g++"
}
- {
name: "Windows MinGW Qt5",
os: windows-latest,
Expand Down Expand Up @@ -146,6 +153,16 @@ jobs:
ninja --version
brew info qt@5
- name: Install Qt6 on Windows
if: startsWith(matrix.config.name, 'Windows MinGW Qt6')
uses: jurplel/install-qt-action@v3
with:
version: '6.6.*'
host: 'windows'
target: 'desktop'
arch: 'win64_mingw'
cache: 'false'

- name: Install Qt5 on Windows
if: startsWith(matrix.config.name, 'Windows MinGW Qt5')
uses: jurplel/install-qt-action@v3
Expand Down Expand Up @@ -228,14 +245,19 @@ jobs:
ninja
sudo ninja install
- name: Configure CMake and Build on Windows MinGW Qt6
shell: cmd
if: contains(matrix.config.name, 'Windows MinGW Qt6')
run: call "windows-install/win64/buildqt5win64_github.bat"

- name: Configure CMake and Build on Windows MinGW Qt5
shell: cmd
if: contains(matrix.config.name, 'Windows MinGW Qt5')
run: call "windows-install/win64/buildqt5win64_github.bat"

- name: Test on Linux, MacOS
shell: bash
if: ${{ !contains(matrix.config.name, 'Windows MinGW Qt5') }}
if: ${{ !contains(matrix.config.name, 'Windows MinGW') }}
run: |
cqmakedb -v
cscope -cbR
Expand Down

0 comments on commit 17b5894

Please sign in to comment.