Skip to content

Commit

Permalink
Merge pull request #52 from sporksmith/bookworm
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
sporksmith authored Aug 26, 2023
2 parents 15d1eab + d53d10f commit 827cdca
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,31 @@ jobs:
container:
# We generally try to support the same set of platforms as shadow does.
# See https://shadow.github.io/docs/guide/supported_platforms.html
- 'ubuntu:18.04'
- 'ubuntu:20.04'
- 'ubuntu:22.04'
- 'debian:10-slim'
- 'debian:11-slim'
- 'fedora:34'
- 'fedora:35'
- 'fedora:36'
- 'debian:12-slim'
- 'fedora:37'
- 'quay.io/centos/centos:stream8'
steps:
# See https://github.com/shadow/tgen/issues/44#issuecomment-1693982909
- name: Install debian:11 backports
if: ${{ matrix.container == 'debian:12-slim' }}
run: |
cat <<EOF > /etc/apt/sources.list.d/bullseye.sources
Types: deb
URIs: http://deb.debian.org/debian
Suites: bullseye bullseye-updates
Components: main
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb
URIs: http://deb.debian.org/debian-security
Suites: bullseye-security
Components: main
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
EOF
- name: Update packages
run: |
case ${{ matrix.container }} in
Expand All @@ -61,6 +75,14 @@ jobs:
libglib2.0-dev \
libigraph-dev
;;
debian:12*)
# See https://github.com/shadow/tgen/issues/44#issuecomment-1693982909
apt-get install -y \
${{ matrix.cc }} \
cmake \
libglib2.0-dev \
libigraph-dev/bullseye
;;
debian*)
apt-get install -y \
${{ matrix.cc }} \
Expand All @@ -75,14 +97,6 @@ jobs:
glib2-devel \
igraph-devel
;;
*centos*stream8)
dnf install -y \
${{ matrix.cc }} \
cmake \
glib2-devel
dnf install -y https://dl.fedoraproject.org/pub/archive/epel/7.7/x86_64/Packages/i/igraph-0.7.1-12.el7.x86_64.rpm
dnf install -y https://dl.fedoraproject.org/pub/archive/epel/7.7/x86_64/Packages/i/igraph-devel-0.7.1-12.el7.x86_64.rpm
;;
*)
echo "Unhandled container ${{ matrix.container }}"
exit 1
Expand Down

0 comments on commit 827cdca

Please sign in to comment.