Skip to content

Леонова Елизавета Сергеевна, РИ-232701 #154

Леонова Елизавета Сергеевна, РИ-232701

Леонова Елизавета Сергеевна, РИ-232701 #154

Workflow file for this run

name: Urfu Testing CI
on:
pull_request:
push:
workflow_dispatch:
jobs:
task1:
runs-on: ubuntu-22.04
container:
image: lifestyle288/urfucpp:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
options: --name main-container
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependecies
run: |
cd task1
cp -R /app/tests/task1 tests
mkdir build
cd build
cmake ..
make -j4
- name: Run tests
run: cd task1/build && ctest
task2:
runs-on: ubuntu-22.04
container:
image: lifestyle288/urfucpp:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
options: --name main-container
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependecies
run: |
cd task2
cp -R /app/tests/task2 tests
mkdir build
cd build
cmake ..
make -j4
- name: Run tests
run: cd task2/build && ctest
task3:
runs-on: ubuntu-22.04
container:
image: lifestyle288/urfucpp:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
options: --name main-container
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependecies
run: |
cd task3
cp -R /app/tests/task3 tests
mkdir build
cd build
cmake ..
make -j4
- name: Run tests
run: cd task3/build && ctest