Skip to content

Commit

Permalink
Merge pull request #5 from ggtakec/update_ci_os
Browse files Browse the repository at this point in the history
Updated support OSes
  • Loading branch information
ggtakec authored Nov 12, 2023
2 parents 41f3cf6 + e12cc0e commit d25e921
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ jobs:
container:
- ubuntu:22.04
- ubuntu:20.04
- debian:bookworm
- debian:bullseye
- debian:buster
- rockylinux:9
- rockylinux:8
- fedora:36
- fedora:35
- fedora:39
- fedora:38

container:
image: ${{ matrix.container }}
Expand Down Expand Up @@ -122,8 +123,8 @@ jobs:
./build/s3fsawscred_test | grep -v '[E|e]xpiration' | sed -e "s/Version .*$/Version/g" > /tmp/s3fsawscred_test.result
diff .github/workflows/s3fsawscred_test.result /tmp/s3fsawscred_test.result
macos11:
runs-on: macos-11
macos12:
runs-on: macos-12

steps:
- name: Checkout source code
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/linux-ci-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ elif [ "${CONTAINER_FULLNAME}" = "ubuntu:18.04" ]; then
INSTALL_PACKAGES="git g++ cmake libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "debian:bookworm" ]; then
PACKAGE_MANAGER_BIN="apt-get"
PACKAGE_UPDATE_OPTIONS="update -y -qq"

INSTALL_PACKAGES="git g++ cmake libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "debian:bullseye" ]; then
PACKAGE_MANAGER_BIN="apt-get"
PACKAGE_UPDATE_OPTIONS="update -y -qq"
Expand All @@ -80,6 +87,13 @@ elif [ "${CONTAINER_FULLNAME}" = "debian:stretch" ]; then
INSTALL_PACKAGES="git g++ cmake libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "rockylinux:9" ]; then
PACKAGE_MANAGER_BIN="dnf"
PACKAGE_UPDATE_OPTIONS="update -y -qq"

INSTALL_PACKAGES="git gcc-c++ cmake libcurl-devel openssl-devel uuid-devel zlib-devel pulseaudio-libs-devel diffutils"
INSTALL_REPO_OPTIONS="--enablerepo=crb"

elif [ "${CONTAINER_FULLNAME}" = "rockylinux:8" ]; then
PACKAGE_MANAGER_BIN="dnf"
PACKAGE_UPDATE_OPTIONS="update -y -qq"
Expand All @@ -94,6 +108,27 @@ elif [ "${CONTAINER_FULLNAME}" = "centos:centos7" ]; then
INSTALL_PACKAGES="git gcc-c++ cmake libcurl-devel openssl-devel uuid-devel zlib-devel pulseaudio-libs-devel"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "fedora:39" ]; then
PACKAGE_MANAGER_BIN="dnf"
PACKAGE_UPDATE_OPTIONS="update -y -qq"

INSTALL_PACKAGES="git gcc-c++ cmake libcurl-devel openssl-devel uuid-devel zlib-devel pulseaudio-libs-devel diffutils"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "fedora:38" ]; then
PACKAGE_MANAGER_BIN="dnf"
PACKAGE_UPDATE_OPTIONS="update -y -qq"

INSTALL_PACKAGES="git gcc-c++ cmake libcurl-devel openssl-devel uuid-devel zlib-devel pulseaudio-libs-devel diffutils"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "fedora:37" ]; then
PACKAGE_MANAGER_BIN="dnf"
PACKAGE_UPDATE_OPTIONS="update -y -qq"

INSTALL_PACKAGES="git gcc-c++ cmake libcurl-devel openssl-devel uuid-devel zlib-devel pulseaudio-libs-devel diffutils"
INSTALL_REPO_OPTIONS=""

elif [ "${CONTAINER_FULLNAME}" = "fedora:36" ]; then
PACKAGE_MANAGER_BIN="dnf"
PACKAGE_UPDATE_OPTIONS="update -y -qq"
Expand Down

0 comments on commit d25e921

Please sign in to comment.