-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cédrik Fuoco <[email protected]>
- Loading branch information
1 parent
39eace1
commit 67fe75a
Showing
1 changed file
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
name: OpenRV | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'feature/**' | ||
paths: | ||
- .github/workflows/ci.yml | ||
|
||
pull_request: | ||
branches: | ||
- 'feature/**' | ||
paths: | ||
- .github/workflows/ci.yml | ||
|
||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
# Strawberry perl is installed by default. | ||
# Using aqt to install Qt 5.15.2 (latest binary release of Qt Op) | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Display Python installation location | ||
run: | | ||
echo "%PYTHONPATH%" | ||
echo "%PATH%" | ||
python -c "import sys; print(sys.executable)" | ||
# - name: Install Qt | ||
# uses: jurplel/install-qt-action@v4 | ||
# with: | ||
# version: '5.15.2' | ||
# host: 'windows' | ||
# target: 'desktop' | ||
# arch: 'win64_msvc2019_64' | ||
# dir: '${{ github.workspace }}/qt/' | ||
# # Linux option only - false for Windows | ||
# install-deps: 'false' | ||
# modules: 'debug_info qtcharts qtnetworkauth qtquick3d qtquicktimeline qtscript qtwebengine qtwebglplugin' | ||
# archives: 'd3dcompiler_47 opengl32sw qt3d qtactiveqt qtbase qtimageformats qtmultimedia qtquickcontrols qtquickcontrols2 qtscxml qtspeech qtsvg qttools qttranslations qtwebchannel qtwebsockets qtwebview qtwinextras qtxmlpatterns' | ||
# cache: 'false' | ||
# cache-key-prefix: 'install-qt-action' | ||
# setup-python: 'false' | ||
# tools: '' | ||
# set-env: 'true' | ||
# tools-only: 'false' | ||
# aqtversion: '==3.1.*' | ||
# - name: Display Qt directory | ||
# run: dir '${{ github.workspace }}/qt/' | ||
- name: Setup msys2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: MINGW64 | ||
# update: true | ||
# install: >- | ||
# mingw-w64-x86_64-autotools | ||
# mingw-w64-x86_64-glew | ||
# mingw-w64-x86_64-libarchive | ||
# mingw-w64-x86_64-make | ||
# mingw-w64-x86_64-meson | ||
# mingw-w64-x86_64-toolchain | ||
# autoconf | ||
# automake | ||
# bison | ||
# flex | ||
# libtool | ||
# nasm | ||
# p7zip | ||
# patch | ||
# unzip | ||
# zip | ||
- name: Setup PATH environment variable | ||
shell: msys2 {0} | ||
# echo "export PATH=C:/hostedtoolcache/windows/Python/3.10.11/x64:$PATH" >> ~/.bashrc | ||
run: | | ||
echo "PATH=C:/hostedtoolcache/windows/Python/3.10.11/x64:$PATH" >> $GITHUB_ENV | ||
env: | ||
MSYS2_PATH_TYPE: inherit | ||
- name: Print PATH environment variable | ||
shell: msys2 {0} | ||
run: | | ||
echo $PATH | ||
env: | ||
MSYS2_PATH_TYPE: inherit | ||
- name: Print PATH environment variable | ||
shell: msys2 {0} | ||
run: | | ||
which python | ||
env: | ||
MSYS2_PATH_TYPE: inherit |