-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new GitHub actions workflow to validate install from source on supported distributions.
- Loading branch information
1 parent
bab18e5
commit 6fb14f9
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This comment was marked as spam.
Sorry, something went wrong.