Skip to content

Commit

Permalink
Update build_windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 19, 2024
1 parent 6dbd5d5 commit 93afe46
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ jobs:
modules: qtcharts
setup-python: true

- name: Download JOM
uses: suisei-cn/[email protected]
with:
url: http://download.qt.io/official_releases/jom/jom.zip
target: ${{ runner.temp }}\

- name: Unzip JOM
working-directory: ${{ runner.temp }}
run: |
7z x jom.zip -ojom
- name: Install Gstreamer
run: choco install --no-progress gstreamer gstreamer-devel --version=1.18.6

- name: Configure
working-directory: ${{ runner.temp }}\shadow_build_dir
run: cmake -S ${{ github.workspace }} -B . -G Ninja ^
Expand All @@ -66,7 +80,9 @@ jobs:

- name: Build
working-directory: ${{ runner.temp }}\shadow_build_dir
run: cmake --build . --target all --config ${{ matrix.BuildType }}
run: |
qmake -r ${{ env.SOURCE_DIR }}\QOpenHD.pro
${{ runner.temp }}\jom\jom -j2
- name: Install
working-directory: ${{ runner.temp }}\shadow_build_dir
Expand Down

0 comments on commit 93afe46

Please sign in to comment.