updated ubuntu_16.04.yaml

pull/2/head
Hari Sekhon 3 years ago
parent 69d3ea55dd
commit 9b779a0869

@ -14,34 +14,17 @@
---
name: Ubuntu 16.04
#env:
# DEBUG: 1
on: # [push]
on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 7 * * *'
jobs:
build:
#name: build
timeout-minutes: 60
runs-on: ubuntu-latest
container: ubuntu:16.04
env:
repo: bash-tools
steps:
# untars repo in docker container so git submodule update fails
#- uses: actions/checkout@v2
- name: install git & make
run: apt-get update -qq && apt-get install -qy git make
- name: git clone
run: cd /tmp && git clone "https://github.com/harisekhon/$repo"
- name: init
run: cd "/tmp/$repo" && git submodule update --init --recursive
- name: build
run: cd "/tmp/$repo" && make ci
- name: test
run: cd "/tmp/$repo" && make test
name: Ubuntu 16.04
uses: HariSekhon/GitHub-Actions/.github/workflows/ubuntu16.yaml@master
#with:
# debug: 1

Loading…
Cancel
Save