Skip to content

Commit 2363258

Browse files
committed
added ubuntu_14.04.yaml
1 parent df8aee7 commit 2363258

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#
2+
# Author: Hari Sekhon
3+
# Date: Tue Feb 4 09:53:28 2020 +0000
4+
#
5+
# vim:ts=2:sts=2:sw=2:et
6+
#
7+
# https://github.com/harisekhon/devops-python-tools
8+
#
9+
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
10+
#
11+
# https://www.linkedin.com/in/harisekhon
12+
#
13+
14+
name: CI Ubuntu 14.04
15+
16+
#env:
17+
# DEBUG: 1
18+
19+
on: # [push]
20+
push:
21+
branches:
22+
- master
23+
schedule:
24+
# * is a special character in YAML so you have to quote this string
25+
- cron: '0 10 30 * *'
26+
27+
jobs:
28+
build:
29+
#name: build
30+
timeout-minutes: 10
31+
runs-on: ubuntu-latest
32+
container: ubuntu:14.04
33+
env:
34+
repo: devops-python-tools
35+
steps:
36+
# untars repo in docker container so git submodule update fails
37+
#- uses: actions/checkout@v2
38+
- name: install git & make
39+
run: |
40+
ls -l /.dockerenv
41+
echo "pwd is $PWD"
42+
cat /etc/*release
43+
apt-get update &&
44+
apt-get install -y git make
45+
- name: git clone
46+
run: |
47+
cd /tmp &&
48+
git clone "https://github.com/harisekhon/$repo"
49+
- name: build
50+
run: |
51+
cd "/tmp/$repo" &&
52+
make
53+
- name: test
54+
run: |
55+
cd "/tmp/$repo" &&
56+
make test

0 commit comments

Comments
 (0)