mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(CI): Replace CentOS 8 CI with AlmaLinux
CentOS is EOL, and AlmaLinux seems like the closest successor
This commit is contained in:
parent
65c42ebd9e
commit
90484a1fdf
16
.github/workflows/build-test-deploy.yaml
vendored
16
.github/workflows/build-test-deploy.yaml
vendored
|
@ -45,15 +45,15 @@ jobs:
|
|||
name: "Build docker image"
|
||||
with:
|
||||
docker_image_name: debian_old
|
||||
build-centos-docker:
|
||||
name: Build centos docker image
|
||||
build-almalinux-docker:
|
||||
name: Build almalinux docker image
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./.github/actions/build-docker-image
|
||||
name: "Build docker image"
|
||||
with:
|
||||
docker_image_name: centos
|
||||
docker_image_name: almalinux
|
||||
build-fedora-docker:
|
||||
name: Build fedora docker image
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -90,10 +90,10 @@ jobs:
|
|||
name: "Build docker image"
|
||||
with:
|
||||
docker_image_name: windows_builder.i686
|
||||
build-centos:
|
||||
name: Centos
|
||||
build-almalinux:
|
||||
name: Almalinux
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-centos-docker
|
||||
needs: build-almalinux-docker
|
||||
strategy:
|
||||
matrix:
|
||||
features: [full, minimal]
|
||||
|
@ -103,9 +103,9 @@ jobs:
|
|||
- uses: ./.github/actions/load-docker-image
|
||||
name: Load docker image
|
||||
with:
|
||||
docker_image_name: centos
|
||||
docker_image_name: almalinux
|
||||
- name: Run build
|
||||
run: docker compose run --rm centos ./.travis/build-qtox-linux.sh --build-type ${{ matrix.build_type }} --${{ matrix.features }}
|
||||
run: docker compose run --rm almalinux ./.travis/build-qtox-linux.sh --build-type ${{ matrix.build_type }} --${{ matrix.features }}
|
||||
build-fedora:
|
||||
name: Fedora
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
FROM centos:latest
|
||||
FROM almalinux:latest
|
||||
|
||||
RUN dnf --nodocs -y install dnf-plugins-core && \
|
||||
dnf config-manager --set-enabled powertools && \
|
||||
dnf --nodocs -y install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %almalinux).noarch.rpm && \
|
||||
dnf --nodocs -y install epel-release && \
|
||||
dnf --nodocs -y install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm && \
|
||||
dnf --nodocs -y install \
|
||||
cmake \
|
||||
make \
|
|
@ -55,11 +55,11 @@ services:
|
|||
context: ./buildscripts
|
||||
dockerfile: docker/Dockerfile.flatpak_builder
|
||||
<<: *shared_params
|
||||
centos:
|
||||
image: qtox_centos:latest
|
||||
almalinux:
|
||||
image: qtox_almalinux:latest
|
||||
build:
|
||||
context: ./buildscripts
|
||||
dockerfile: docker/Dockerfile.centos
|
||||
dockerfile: docker/Dockerfile.almalinux
|
||||
<<: *shared_params
|
||||
fedora:
|
||||
image: qtox_fedora:latest
|
||||
|
|
Loading…
Reference in New Issue
Block a user