Skip to content

Commit afcbc9c

Browse files
committed
Remove no longer supported CentOS 7 builds
- see actions/runner#2906
1 parent 39ef1f0 commit afcbc9c

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
1212

13-
env:
14-
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
15-
1613
defaults:
1714
run:
1815
shell: bash
@@ -105,32 +102,19 @@ jobs:
105102
strategy:
106103
fail-fast: false
107104
matrix:
108-
container_os: ['centos']
109-
container_os_version: ['7']
110-
container_os_python_package: ['python-debug']
105+
container_os: ['rockylinux']
106+
container_os_version: ['9']
111107
configuration: ['debug', 'release']
112-
include:
113-
- container_os: 'rockylinux'
114-
container_os_version: '9'
115-
container_os_python_package: 'python3-devel'
116-
configuration: 'release'
117108
runs-on: ubuntu-latest
118109
container: '${{ matrix.container_os }}:${{ matrix.container_os_version }}'
119110
steps:
120-
- name: Change centos archive repository
121-
run: |
122-
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
123-
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
124-
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
125-
if: matrix.container_os == 'centos'
126-
127111
- name: Install Qt
128112
run: |
129113
yum update -y
130114
yum groupinstall "Development Tools" -y
131115
yum install -y \
132116
which \
133-
${{ matrix.container_os_python_package }} \
117+
python-devel \
134118
qt5-qtbase-* \
135119
qt5-qttools* \
136120
qt5-qtsvg \
@@ -140,7 +124,7 @@ jobs:
140124
qt5-*-devel
141125
142126
- name: Checkout PythonQt
143-
uses: actions/checkout@v3
127+
uses: actions/checkout@v4
144128

145129
- name: Build PythonQt
146130
run: |

0 commit comments

Comments
 (0)