Migrate renode test to new container #1191
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: kontron_vx3060_s2 build test | |
| on: | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| fsp_qemu_test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Workaround for sources.list | |
| run: | | |
| set -euxo pipefail | |
| apt-cache policy | |
| grep -RInE '^(deb|Types|URIs)' /etc/apt || true | |
| shopt -s nullglob | |
| sudo sed -i \ | |
| -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \ | |
| /etc/apt/sources.list || true | |
| for f in /etc/apt/sources.list.d/*.list; do | |
| sudo sed -i \ | |
| -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \ | |
| "$f" | |
| done | |
| for f in /etc/apt/sources.list.d/*.sources; do | |
| sudo sed -i \ | |
| -e "s|https\?://azure\.archive\.ubuntu\.com/ubuntu/?|https://mirror.arizona.edu/ubuntu/|g" \ | |
| -e "s|https\?://azure\.archive\.ubuntu\.com|https://mirror.arizona.edu|g" \ | |
| "$f" | |
| done | |
| if grep -qE '^[[:space:]]*https?://azure\.archive\.ubuntu\.com/ubuntu/?' /etc/apt/apt-mirrors.txt; then | |
| sudo sed -i 's|https\?://azure\.archive\.ubuntu\.com/ubuntu/|https://mirror.arizona.edu/ubuntu/|g' /etc/apt/apt-mirrors.txt | |
| fi | |
| - name: install req | |
| run: | | |
| export DEBIAN_FRONTEND=noninteractive | |
| sudo apt-get update -o Acquire::Retries=3 | |
| sudo apt-get install --no-install-recommends -y -q -o Acquire::Retries=3 nasm gcc-multilib | |
| - name: setup git | |
| run: | | |
| git config --global user.email "you@example.com" | |
| git config --global user.name "Your Name" | |
| - name: run test | |
| run: | | |
| cp config/examples/kontron_vx3060_s2.config .config | |
| ./tools/scripts/x86_fsp/tgl/tgl_download_fsp.sh | |
| make |