Skip to content
name: validate-install-from-source
on:
workflow_dispatch:
push:
jobs:
docker:
name: ${{matrix.vector.image}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
vector:
- image: mcr.microsoft.com/cbl-mariner/base/core:2.0
container: ${{matrix.vector.image}}
steps:
- run: |
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then
zypper -n install tar gzip
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then
dnf install which -y
elif [[ ${{matrix.vector.image}} == *"mariner"* ]]; then
echo GNUPGHOME=/root/.gnupg &&
echo export GNUPGHOME &&
sudo tdnf update -y &&
sudo tdnf install tar -y # needed for `actions/checkout`
fi
- uses: actions/checkout@v4
- run: |
sh "${GITHUB_WORKSPACE}/src/linux/Packaging.Linux/install-from-source.sh" -y
git-credential-manager --help || exit 1