Try installing software explicitly (#3083)

* try installing software

* no sude

* move install up

* install in hw ci

* install in simulator build
This commit is contained in:
David Holdeman 2021-07-30 19:18:53 -05:00 committed by GitHub
parent 50240c6500
commit 7dc3ba848f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 7 deletions

View File

@ -131,7 +131,7 @@ jobs:
- name: Install multilib, mingw, ncftp and mtools
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 ncftp mtools
sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 ncftp mtools zip dosfstools
- name: Generate Default config
# todo: why do we even need this 'gen_config_default.sh' here?!
@ -258,6 +258,11 @@ jobs:
with:
java-version: '8'
- name: Install multilib, mingw, and ncftp
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 ncftp mtools zip dosfstools
- name: Generate Enum Strings
working-directory: ./firmware/
run: bash gen_enum_to_string.sh
@ -279,11 +284,6 @@ jobs:
tar -xvf compiler.tar.xz
echo "::add-path::`pwd`/gcc-arm-none-eabi-9-2020-q2-update/bin"
- name: Install multilib, mingw, and ncftp
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 ncftp mtools
# Make sure the compiler we just downloaded works - just print out the version
- name: Test Compiler
run: arm-none-eabi-gcc -v

View File

@ -15,7 +15,7 @@ jobs:
- name: Install multilib
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install gcc-multilib g++-multilib mtools dosfstools zip
- name: Generate Configs for simulator
working-directory: ./firmware/

View File

@ -20,6 +20,17 @@ jobs:
if: ${{ matrix.os != 'macos-latest' }}
run: lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)'
- name: Install required software (ubuntu)
if: ${{ matrix.os != 'macos-latest' }}
run: |
sudo apt-get update
sudo apt-get install mtools zip dosfstools
- name: Install required software (macos)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install mtools zip dosfstools
- name: Generate Configs for unit tests
working-directory: ./firmware/
run: bash gen_config_default.sh

View File

@ -31,6 +31,11 @@ jobs:
- name: Identify Agent
run: uname -a
- name: Install required software
run: |
sudo apt-get update
sudo apt-get install mtools zip dosfstools
- name: Generate Configs for HW CI
working-directory: ./firmware/
run: bash gen_config_default.sh