Added docker build workflow #26
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: Regression and Unit Testing | |
on: | |
push: | |
branches: | |
- 'main' | |
workflow_call: | |
inputs: | |
runner: | |
description: 'The github runner to use' | |
default: 'ubuntu-latest' | |
required: false | |
type: string | |
jobs: | |
build: | |
name: build package | |
strategy: | |
fail-fast: false | |
runs-on: ${{ inputs.runner || 'ubuntu-latest' }} | |
steps: | |
- name: Say hi | |
run: echo "hi there" | |
- name: Pre Cleanup | |
uses: docker://ghcr.io/evertbunschoten/pinntraining_test:1.0.0 | |
with: | |
entrypoint: /bin/rm | |
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }} |