Skip to content

Commit

Permalink
ci: add clearlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau-gg committed Oct 28, 2024
1 parent 43ab2bc commit 1d302a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ jobs:
- ubuntu:latest
- rockylinux/rockylinux:8.8
- opensuse/leap
# Test a distribution with no deb or rpm support
- clearlinux:latest

steps:
- name: Download OS packages
Expand All @@ -295,6 +297,19 @@ jobs:
zypper install -y git
rpm -i packages/*.rpm
;;
clearlinux*)
swupd bundle-add git
# Unpack ggshield in /usr/local/ggshield
pkg_dir=$PWD/packages
mkdir /usr/local/ggshield
cd /usr/local/ggshield
tar --strip-components 1 -xf $pkg_dir/*.tar.gz
# Add ggshield to $PATH
mkdir /usr/local/bin
ln -s $PWD/ggshield /usr/local/bin/ggshield
;;
esac
- name: Smoke test
Expand Down

0 comments on commit 1d302a8

Please sign in to comment.