ci/sphinx-tuttest: cleanup

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-06-15 19:54:40 +02:00
parent d9d4336fe3
commit 12199f08ae
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