From: Serge Hallyn Date: Sun, 10 Oct 2021 20:10:57 +0000 (-0500) Subject: initial github actions attempt X-Git-Tag: 4.10~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6be18d45e16ea5d5bfea5cc8c2e99a3f68106b12;p=thirdparty%2Fshadow.git initial github actions attempt Closes #415 --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..a84b9987c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,43 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: debug + run: | + id + which bash + whoami + env + ps -ef + pwd + cat /proc/self/uid_map + cat /proc/self/status + systemd-detect-virt + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get -y install automake autopoint xsltproc gettext expect byacc libtool + - name: configure + run: | + ./autogen.sh --without-selinux --disable-man + grep ENABLE_ config.status + - run: make + - run: make install DESTDIR=${HOME}/rootfs + - run: sudo make install + - run: | + cd tests + sudo ./run_some + cat testsuite.log