Merge pull request #322 from antmicro/umarcor/ci/merge-steps

ci/sphinx-tuttest: cleanup
This commit is contained in:
Karol Gugala 2022-06-17 09:50:43 +02:00 committed by GitHub
commit 40b1823a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 21 deletions

View File

@ -51,16 +51,12 @@ jobs:
submodules: recursive submodules: recursive
- name: Install utils - name: Install utils
if: ${{matrix.os == 'ubuntu' || matrix.os == 'debian'}} run: |
run: apt -qqy update && apt -qqy install wget locales && locale-gen $LANG case ${{ matrix.os }} in
ubuntu|debian) apt -qqy update && apt -qqy install git wget locales && locale-gen $LANG ;;
- name: Install utils centos) yum -y install git wget ;;
if: ${{matrix.os == 'centos'}} fedora) dnf install -y git wget ;;
run: yum -y install wget esac
- name: Install utils
if: ${{matrix.os == 'fedora'}}
run: dnf install -y wget
- name: Install tuttest - name: Install tuttest
run: | run: |
@ -102,23 +98,20 @@ jobs:
container: ${{matrix.os}}:${{matrix.os-version}} container: ${{matrix.os}}:${{matrix.os-version}}
steps: steps:
- name: Install utils
if: ${{matrix.os == 'ubuntu' || matrix.os == 'debian'}}
run: apt -qqy update && apt -qqy install git wget locales && locale-gen $LANG
- name: Install utils
if: ${{matrix.os == 'centos'}}
run: yum -y install git wget
- name: Install utils
if: ${{matrix.os == 'fedora'}}
run: dnf install -y git wget
- name: Setup repository - name: Setup repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Install utils
run: |
case ${{ matrix.os }} in
ubuntu|debian) apt -qqy update && apt -qqy install git wget locales && locale-gen $LANG ;;
centos) yum -y install git wget ;;
fedora) dnf install -y git wget ;;
esac
- name: Install tuttest - name: Install tuttest
run: | run: |
wget https://github.com/antmicro/tuttest/releases/download/v0.2-beta/tuttest -O /usr/bin/tuttest wget https://github.com/antmicro/tuttest/releases/download/v0.2-beta/tuttest -O /usr/bin/tuttest