1
+ name : OpenRV
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' feature/**'
7
+ paths :
8
+ - .github/workflows/ci.yml
9
+
10
+ pull_request :
11
+ branches :
12
+ - ' feature/**'
13
+ paths :
14
+ - .github/workflows/ci.yml
15
+
16
+ jobs :
17
+ windows :
18
+ runs-on : windows-latest
19
+ # Strawberry perl is installed by default.
20
+ # Using aqt to install Qt 5.15.2 (latest binary release of Qt Op)
21
+ steps :
22
+ - name : Check out repository code
23
+ uses : actions/checkout@v4
24
+ with :
25
+ submodules : recursive
26
+ - uses : actions/setup-python@v5
27
+ with :
28
+ python-version : ' 3.10'
29
+ - name : Display Python installation location
30
+ run : |
31
+ echo "%PYTHONPATH%"
32
+ echo "%PATH%"
33
+ python -c "import sys; print(sys.executable)"
34
+ - name : Install Qt
35
+ uses : jurplel/install-qt-action@v4
36
+ with :
37
+ version : ' 5.15.2'
38
+ host : ' windows'
39
+ target : ' desktop'
40
+ arch : ' win64_msvc2019_64'
41
+ dir : ' ${{ github.workspace }}/qt/'
42
+ # Linux option only - false for Windows
43
+ install-deps : ' false'
44
+ modules : ' debug_info qtcharts qtnetworkauth qtquick3d qtquicktimeline qtscript qtwebengine qtwebglplugin'
45
+ archives : ' d3dcompiler_47 opengl32sw qt3d qtactiveqt qtbase qtimageformats qtmultimedia qtquickcontrols qtquickcontrols2 qtscxml qtspeech qtsvg qttools qttranslations qtwebchannel qtwebsockets qtwebview qtwinextras qtxmlpatterns'
46
+ cache : ' false'
47
+ cache-key-prefix : ' install-qt-action'
48
+ setup-python : ' false'
49
+ tools : ' '
50
+ set-env : ' true'
51
+ tools-only : ' false'
52
+ aqtversion : ' ==3.1.*'
53
+ - name : Display Qt directory
54
+ run : dir '${{ github.workspace }}/qt/'
55
+ - name : Setup msys2
56
+ uses : msys2/setup-msys2@v2
57
+ with :
58
+ msystem : MINGW64
59
+ update : true
60
+ install : >-
61
+ mingw-w64-x86_64-autotools
62
+ mingw-w64-x86_64-glew
63
+ mingw-w64-x86_64-libarchive
64
+ mingw-w64-x86_64-make
65
+ mingw-w64-x86_64-meson
66
+ mingw-w64-x86_64-toolchain
67
+ autoconf
68
+ automake
69
+ bison
70
+ flex
71
+ libtool
72
+ nasm
73
+ p7zip
74
+ patch
75
+ unzip
76
+ zip
77
+ - name : Setup PATH environment variable
78
+ shell : msys2 {0}
79
+ run : |
80
+ echo "export PATH=$PATH:C:/Users/runneradmin/.local/share/virtualenvs/3.10.11" >> ~/.bashrc
81
+ env :
82
+ MSYS2_PATH_TYPE : inherit
83
+ - name : Print PATH environment variable
84
+ shell : msys2 {0}
85
+ run : |
86
+ echo $PATH
87
+ - name : Print PATH environment variable
88
+ shell : msys2 {0}
89
+ run : |
90
+ where python
0 commit comments