Skip to content

Commit

Permalink
update build actions to install Qt&OpenCV
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed May 21, 2024
1 parent 2768c24 commit ab6d9d5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
- {gen: Unix Makefiles, shared: ON, ccompiler: clang, cxxcompiler: clang++}
- {gen: Unix Makefiles, shared: OFF, ccompiler: clang, cxxcompiler: clang++}
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
- name: Install OpenCV
uses: Dovyski/[email protected]
with:
opencv-version: '4.0.0'
- name: checkout
uses: actions/checkout@v4
- name: Configure
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@ jobs:
- {gen: Visual Studio 17 2022, arch: x64, shared: ON}
- {gen: Visual Studio 17 2022, arch: x64, shared: OFF}
steps:
- name: Install Qt Win64
if: arch=='x64'
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
host: 'windows'
arch: 'win64_msvc2019_64'
- name: Install Qt Win64
if: arch=='Win32'
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
host: 'windows'
arch: 'win64_msvc2019_32'
- name: Install OpenCV
uses: Dovyski/[email protected]
with:
opencv-version: '4.0.0'
- name: checkout
uses: actions/checkout@v4
- name: Configure
Expand Down

0 comments on commit ab6d9d5

Please sign in to comment.