forked from HariSekhon/DevOps-Python-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdebian_6.yaml.disabled
More file actions
56 lines (52 loc) · 1.22 KB
/
Copy pathdebian_6.yaml.disabled
File metadata and controls
56 lines (52 loc) · 1.22 KB
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
47
48
49
50
51
52
53
54
55
56
#
# Author: Hari Sekhon
# Date: Tue Feb 4 09:53:28 2020 +0000
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/harisekhon/devops-python-tools
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
#
# https://www.linkedin.com/in/harisekhon
#
name: CI Debian 6
#env:
# DEBUG: 1
on: # [push]
push:
branches:
- master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 7 * * *'
jobs:
build:
#name: build
timeout-minutes: 10
runs-on: ubuntu-latest
container: debian:6
env:
repo: devops-python-tools
steps:
# untars repo in docker container so git submodule update fails
#- uses: actions/checkout@v2
- name: install git & make
run: |
ls -l /.dockerenv
echo "pwd is $PWD"
echo VERSION: ; cat /etc/*release /etc/*version 2>/dev/null || :
apt-get update &&
apt-get install -y git make
- name: git clone
run: |
cd /tmp &&
git clone "https://github.com/harisekhon/$repo"
- name: build
run: |
cd "/tmp/$repo" &&
make
- name: test
run: |
cd "/tmp/$repo" &&
make test