distr_info: and Uncom, MSVSphere to package manager detection #824
This file contains hidden or 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
name: testsuite | |
on: | |
push: | |
branches: [ "*" ] | |
# pull_request: | |
# branches: [ "*" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: alt:sisyphus | |
env: | |
ALLOW_ROOT_USER: 1 | |
steps: | |
- name: install packages | |
run: | | |
apt-get update && apt-get -y install eepm | |
epm update | |
epm --auto install etersoft-build-utils rpm-build-intro su sudo gear | |
- uses: actions/checkout@v2 | |
- name: build | |
run: | | |
echo "%_allow_root_build 1" > ${HOME}/.rpmmacros | |
echo "%_topdir ${HOME}/RPM" >> ${HOME}/.rpmmacros | |
git config --global --add safe.directory /__w/eepm/eepm | |
rpmbb | |
- name: install | |
run: | | |
apt-get install -y ${HOME}/RPM/RPMS/noarch/eepm-3*.rpm | |
epm update | |
- name: testsuite | |
run: | | |
tests/test_all.sh |