Skip to content

Add building targets using Docker #9

Add building targets using Docker

Add building targets using Docker #9

Workflow file for this run

name: Run Makefile targets
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker Image from Devcontainer Definition
run: docker build . -f .devcontainer/Dockerfile -t devcontainer
- name: Run Tests
run: docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace devcontainer make test
- name: Run Build
run: docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace devcontainer make build
- name: Run Build (Windows)
run: docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace devcontainer make build-windows