forked from shadow-maint/shadow
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.01 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
container: ubuntu:devel
steps:
- uses: actions/checkout@v2
- uses: hendrikmuhs/ccache-action@v1
- name: debug
run: |
export PATH="/usr/lib/ccache:$PATH"
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