FSTALIGN-63: Added an assert (#49) #235
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: CI | |
# Trigger the workflow on a push event or manually from the Actions tab | |
on: [push, workflow_dispatch] | |
jobs: | |
# This workflow has one job | |
# First we build the docker container, then we run CI tests | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_IMAGE: fstalign | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Build the docker container | |
run: docker build . -f Dockerfile -t ${DOCKER_IMAGE} | |
- name: Run CI tests | |
run: docker run --rm -t ${DOCKER_IMAGE} bash -c '(cd build && make test)' |