Skip to content

Task. The NWD NWW homework. An implementation. #252

Task. The NWD NWW homework. An implementation.

Task. The NWD NWW homework. An implementation. #252

Workflow file for this run

name: nwd-nnw
on: [pull_request, workflow_dispatch]
env:
PR_NUMBER: ${{ github.event.number }}
jobs:
nwd-nnw:
runs-on: ubuntu-latest
env:
path: homework/nwd-nnw/build
steps:
- name: Check out code
uses: actions/checkout@master
- name: Create build directory
run: mkdir ${{ env.path }}
- name: Compile
working-directory: ${{ env.path }}
run: |
cmake ..
make
- name: Run tests
working-directory: ${{ env.path }}
run: ctest -V
formatting_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check
uses: coders-school/github-actions/clang-format-check@main
with:
check_path: 'homework/nwd-nnw'