From f3224e591889347b5cd64d330bf24022cf8fdf49 Mon Sep 17 00:00:00 2001 From: William Rusnack Date: Mon, 1 Jul 2024 13:27:09 -0400 Subject: [PATCH 1/2] use vaulted centos packages --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a58cca0..0afad9ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,6 +192,11 @@ jobs: steps: - name: install deps run: | + # Fixing “No URLs in Mirrorlist” Error on CentOS 8 Stream + # https://bitsanddragons.wordpress.com/2024/06/04/fixing-no-urls-in-mirrorlist-error-on-centos-8-stream/ + # https://archive.vn/dCjg1 + sed -i -e 's/mirrorlist/#mirrorlist/g' -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* + yum install -y gcc gmp gmp-devel make ncurses ncurses-compat-libs xz perl curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.2.8 sh - uses: actions/checkout@v3 #This version must stay old enough to remain compatible with the container image From 3152af4b67ca250c35e62ac9d3fb1b9137bd0c39 Mon Sep 17 00:00:00 2001 From: William Rusnack Date: Fri, 19 Jul 2024 09:13:28 -0400 Subject: [PATCH 2/2] removed centos 7 from ci --- .github/workflows/ci.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0afad9ff..15985bfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,28 +184,6 @@ jobs: - name: Test run: cabal test -fpure-haskell --ghc-options=-fno-ignore-asserts --enable-tests --test-show-details=direct all - old-gcc: - needs: build - runs-on: ubuntu-latest - container: - image: centos:7 - steps: - - name: install deps - run: | - # Fixing “No URLs in Mirrorlist” Error on CentOS 8 Stream - # https://bitsanddragons.wordpress.com/2024/06/04/fixing-no-urls-in-mirrorlist-error-on-centos-8-stream/ - # https://archive.vn/dCjg1 - sed -i -e 's/mirrorlist/#mirrorlist/g' -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* - - yum install -y gcc gmp gmp-devel make ncurses ncurses-compat-libs xz perl - curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.2.8 sh - - uses: actions/checkout@v3 #This version must stay old enough to remain compatible with the container image - - name: test - run: | - source ~/.ghcup/env - cabal update - cabal run bytestring-tests - i386: needs: build runs-on: ubuntu-latest