initial github actions attempt

Closes #415
This commit is contained in:
Serge Hallyn 2021-10-10 15:10:57 -05:00
parent 7e2b522a15
commit 6be18d45e1
1 changed files with 43 additions and 0 deletions

43
.github/workflows/main.yml vendored Normal file
View File

@ -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