updated centos7.yaml

pull/2/head
Hari Sekhon 3 years ago
parent 612b427763
commit 50eb96c7fb

@ -14,34 +14,17 @@
---
name: CentOS 7
#env:
# DEBUG: 1
on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 7 * * *'
jobs:
build:
#name: build
timeout-minutes: 60
runs-on: ubuntu-latest
container: centos:7
env:
repo: bash-tools
steps:
# untars repo in docker container so git submodule update fails
#- uses: actions/checkout@v2
- name: install git & make
run: yum install -y 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: CentOS 7
uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master
#with:
# debug: 1

Loading…
Cancel
Save