mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-31 22:21:13 +02:00
23 lines
346 B
YAML
23 lines
346 B
YAML
name: Docker
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: build
|
|
run: docker build . -t modern-cpp
|
|
|
|
- name: test
|
|
run: docker run modern-cpp sh -c "./build/test/GreeterTests"
|