Migrate TgTypeParser to template and jsoncpp #162
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: Docker Image CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build -t reo7sp/tgbot-cpp -f Dockerfile . | |
- name: Build docker image with examples and unit tests | |
run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test . | |
- name: Run unit tests | |
run: docker run --rm reo7sp/tgbot-cpp-test |