-
Notifications
You must be signed in to change notification settings - Fork 106
CI runners clean-up #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI runners clean-up #104
Changes from all commits
ca5b8c1
0753b1b
b438289
92d7be3
062eca1
e56c2d3
607b32b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,23 +82,29 @@ jobs: | |
| name: wrappers_ubuntu_22_04 | ||
| path: generated_cpp | ||
|
|
||
| centos: | ||
| oldschool: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| container: | ||
| - 'centos:7' | ||
| container_os: ['centos'] | ||
| container_os_version: ['7'] | ||
| container_os_python_package: ['python-debug'] | ||
| configuration: ['debug', 'release'] | ||
| include: | ||
| - container_os: 'rockylinux' | ||
| container_os_version: '9' | ||
| container_os_python_package: 'python3-devel' | ||
| configuration: 'release' | ||
| runs-on: ubuntu-latest | ||
| container: ${{ matrix.container }} | ||
| container: '${{ matrix.container_os }}:${{ matrix.container_os_version }}' | ||
| steps: | ||
| - name: Install Qt | ||
| run: | | ||
| yum update -y | ||
| yum groupinstall "Development Tools" -y | ||
| yum install -y \ | ||
| which \ | ||
| python-debug \ | ||
| ${{ matrix.container_os_python_package }} \ | ||
| qt5-qtbase-* \ | ||
| qt5-qttools* \ | ||
| qt5-qtsvg \ | ||
|
|
@@ -114,40 +120,37 @@ jobs: | |
| run: | | ||
| export QT_SELECT=qt5 | ||
| echo ======= SYSTEM INFO ======== | ||
| uname -a; gcc --version | grep "gcc"; python --version; qmake-qt5 --version | ||
| which python 2>/dev/null && export PYTHON_VERSION_SUFFIX= || export PYTHON_VERSION_SUFFIX=3 | ||
| uname -a; gcc --version | grep "gcc"; python${PYTHON_VERSION_SUFFIX} --version; qmake-qt5 --version | ||
| echo ============================ | ||
| qmake-qt5 -r PythonQt.pro CONFIG+=${{ matrix.configuration }} \ | ||
| PYTHON_VERSION=$(python --version | cut -d " " -f 2 | cut -d "." -f1,2) \ | ||
| PYTHON_DIR=$(which python | xargs dirname | xargs dirname) | ||
| PYTHON_VERSION=$(python${PYTHON_VERSION_SUFFIX} --version | cut -d " " -f 2 | cut -d "." -f1,2) \ | ||
| PYTHON_DIR=$(which python${PYTHON_VERSION_SUFFIX} | xargs dirname | xargs dirname) | ||
| make -j 2 && make check TESTARGS="-platform offscreen" | ||
|
|
||
| - name: Generate Wrappers | ||
| run: | | ||
| # workaround to allow to find the Qt include dirs for installed standard qt packages | ||
| mkdir /usr/include/qt5ln; ln -s /usr/include/qt5 /usr/include/qt5ln/include | ||
| export QTDIR=/usr/include/qt5ln | ||
| cd generator | ||
| ./pythonqt_generator | ||
|
|
||
| - name: Upload Wrappers | ||
| uses: actions/upload-artifact@v3 | ||
| with: | ||
| name: wrappers_centos7 | ||
| name: wrappers_${{ matrix.container_os }}-${{ matrix.container_os_version }}_${{ matrix.configuration }} | ||
| path: generated_cpp | ||
|
|
||
| macOS: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| macos-version: ['10.15'] | ||
| python-version: ['2.7'] | ||
| macos-version: ['11'] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the actual problem is the missing support for Python 2.7, also with the previous runner. I'm not sure how to test Python 2.7 on MacOS at all with that problem... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, and I just saw:
for the Windows build, so the same problem here :( |
||
| python-version: ['3.6'] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hopefully, 3.6 will be supported a bit longer by GH Actions, but eventually it will also go... Well we can deal with it when it becomes a problem. |
||
| qt-version: ['5.9.*'] | ||
| configuration: ['release','debug'] | ||
| include: | ||
| - macos-version: '11' | ||
| python-version: '3.6' | ||
| qt-version: '5.11.*' | ||
| configuration: 'release' | ||
| - macos-version: '12' | ||
| python-version: '3.11' | ||
| qt-version: '5.12.*' | ||
|
|
@@ -241,7 +244,7 @@ jobs: | |
| # msvc-toolset: '14.16' | ||
|
|
||
| - qt-arch: 'win32_mingw53' | ||
| python-version: '2.7' | ||
| python-version: '3.6' | ||
| python-arch: 'x86' | ||
| qt-version: '5.11.*' | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - @he-hesce will be happy 😄