added centos8.yaml
parent
da6c838f22
commit
9c4f5d7c54
@ -0,0 +1,53 @@
|
||||
#
|
||||
# Author: Hari Sekhon
|
||||
# Date: Tue Feb 4 09:53:28 2020 +0000
|
||||
#
|
||||
# vim:ts=2:sts=2:sw=2:et
|
||||
#
|
||||
# https://github.com/harisekhon/bash-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 CentOS 8
|
||||
|
||||
env:
|
||||
DEBUG: 1
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
# * is a special character in YAML so you have to quote this string
|
||||
- cron: '0 10 30 * *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
#name: build
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
container: centos:8
|
||||
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"
|
||||
cat /etc/*release
|
||||
yum install -y git make
|
||||
- name: git clone
|
||||
run: |
|
||||
cd / &&
|
||||
git clone https://github.com/harisekhon/bash-tools
|
||||
- name: build
|
||||
run: |
|
||||
cd /bash-tools &&
|
||||
make
|
||||
- name: test
|
||||
run: |
|
||||
cd /bash-tools &&
|
||||
make test
|
Loading…
Reference in New Issue