|
|
@ -32,6 +32,8 @@ jobs:
|
|
|
|
timeout-minutes: 10
|
|
|
|
timeout-minutes: 10
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: centos:6
|
|
|
|
container: centos:6
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
|
|
|
repo: bash-tools
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
# untars repo in docker container so git submodule update fails
|
|
|
|
# untars repo in docker container so git submodule update fails
|
|
|
|
#- uses: actions/checkout@v2
|
|
|
|
#- uses: actions/checkout@v2
|
|
|
@ -43,13 +45,13 @@ jobs:
|
|
|
|
yum install -y git make
|
|
|
|
yum install -y git make
|
|
|
|
- name: git clone
|
|
|
|
- name: git clone
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cd / &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/harisekhon/bash-tools
|
|
|
|
git clone "https://github.com/harisekhon/$repo"
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cd /bash-tools &&
|
|
|
|
cd "/tmp/$repo" &&
|
|
|
|
make
|
|
|
|
make
|
|
|
|
- name: test
|
|
|
|
- name: test
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cd /bash-tools &&
|
|
|
|
cd "/tmp/$repo" &&
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|