Skip to content

Commit 6fb14f9

Browse files
committed
Add validation workflow
Add new GitHub actions workflow to validate install from source on supported distributions.
1 parent bab18e5 commit 6fb14f9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: validate-install-from-source
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
docker:
10+
name: ${{matrix.vector.image}}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
vector:
16+
- image: ubuntu
17+
- image: debian
18+
- image: linuxmintd/mint20-amd64
19+
- image: fedora
20+
- image: centos
21+
- image: redhat/ubi8
22+
- image: alpine
23+
container: ${{matrix.vector.image}}
24+
steps:
25+
- uses: actions/checkout@v1
26+
- run: |
27+
if [ ${{matrix.vector.image}} == "centos" ]; then
28+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
29+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
30+
fi
31+
32+
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y
33+
git-credential-manager-core --help || exit 1

0 commit comments

Comments
 (0)