Skip to content

Grayscale image algo #697

Grayscale image algo

Grayscale image algo #697

Workflow file for this run

name: STL containers homework
on: [push, pull_request]
jobs:
grayscale-image-algo:
runs-on: ubuntu-latest
env:
path: homework/grayscale-image/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: |
../../../.github/workflows/check.sh ../compression.cpp
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/grayscale-img'