Skip to content

Commit

Permalink
Add validation workflow
Browse files Browse the repository at this point in the history
Add new GitHub actions workflow to validate install from source on
supported distributions.
  • Loading branch information
ldennington committed Mar 10, 2022
1 parent bab18e5 commit 6fb14f9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/validate-install-from-source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: validate-install-from-source

on:
push:
branches:
- main

jobs:
docker:
name: ${{matrix.vector.image}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
vector:
- image: ubuntu
- image: debian
- image: linuxmintd/mint20-amd64
- image: fedora
- image: centos
- image: redhat/ubi8
- image: alpine
container: ${{matrix.vector.image}}
steps:
- uses: actions/checkout@v1
- run: |
if [ ${{matrix.vector.image}} == "centos" ]; then
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
fi
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y
git-credential-manager-core --help || exit 1

1 comment on commit 6fb14f9

@Lakshmi1319

This comment was marked as spam.

Please sign in to comment.