github: actions: Add CI tests for push #2
Workflow file for this run
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
name: Python Containers | |
on: | |
- push | |
jobs: | |
python3-debug: | |
runs-on: ubuntu-latest | |
name: Python3 Container | |
strategy: | |
matrix: | |
project: | |
- { | |
name: python3Console, | |
container: python3-console | |
} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build ${{ matrix.project.folder }} Dockerfile | |
shell: pwsh | |
env: | |
PROJECT_FOLDER: ${{ matrix.project.folder }} | |
PROJECT_CONTAINER: ${{ matrix.project.container }} | |
run: | | |
docker run --rm --privileged torizon/binfmt | |
scripts/createFromTemplate.ps1 ` | |
$env:GITHUB_WORKSPACE/$env:PROJECT_FOLDER ` | |
"${env:PROJECT_FOLDER}CITest" ` | |
"${env:PROJECT_CONTAINER}-ci-test" ` | |
$env:GITHUB_WORKSPACE ` | |
$env:PROJECT_FOLDER ` | |
false ` | |
false | |
cd "${env:GITHUB_WORKSPACE}/${env:PROJECT_FOLDER}CITest" | |
./.vscode/tasks.ps1 run build-container-torizon-arm64 |