Upgrade docker #552
This file contains 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
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
name: FPC test | |
on: [push, pull_request] | |
jobs: | |
docker: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
os-version: 20.04 | |
os-name: focal | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: build dev image | |
env: | |
DOCKER_QUIET_BUILD: 1 | |
run: | | |
DOCKER_BUILD_OPTS="--build-arg UBUNTU_VERSION=${{ matrix.os-version }} --build-arg UBUNTU_NAME=${{ matrix.os-name }}" \ | |
make -C utils/docker build build-dev | |
- name: run make inside dev container | |
env: | |
DOCKER_DEV_CI_MODE: 1 | |
DOCKER_QUIET_BUILD: 1 | |
run: | | |
DOCKER_DEV_RUN_OPTS=`bash <(curl -s https://codecov.io/env)` \ | |
DOCKER_BUILD_OPTS="--build-arg UBUNTU_VERSION=${{ matrix.os-version }} --build-arg UBUNTU_NAME=${{ matrix.os-name }}" \ | |
make -C utils/docker run-dev DOCKER_DEV_OPTIONAL_CMD='env IS_CI_RUNNING=true \ | |
make all clobber' |