Skip to content

Commit

Permalink
Test change #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Metacometa committed Jul 10, 2023
1 parent dc4fc3c commit 4c39900
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,31 @@ on:
push:
branches: ["main", "master"]

jobs:
build_windows:
name: Build for windows
runs-on: windows-latest
jobs:
build_linux_and_macos:
name: Build for all os

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

defaults:
run:
shell: bash

env:
APP_NAME: viterbi

defaults:
run:
shell: bash

steps:
steps:
- uses: actions/checkout@v3
- name: Cl building
- name: Bulding of app
run:
g++ src/main.cpp src/ConvolutionalCoding.cpp src/BinarySymmetricChannel.cpp src/ViterbiDecoding.cpp -o viterbi_windows.exe -I include
g++ src/main.cpp src/ConvolutionalCoding.cpp src/BinarySymmetricChannel.cpp src/ViterbiDecoding.cpp -o APP_NAME_${{matrix.os}} -I include

- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: main_matrix
path: viterbi_windows.exe
name: APP_NAME_matrix
path: APP_NAME_${{matrix.os}}.exe
retention-days: 4


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ https://careers.yadro.com/vacancy/12810/
1. Написать на С++ классы кодера и декодера Витерби произвольного сверточного кода.
2. Смоделировать двоичный симметричный канал с заданной вероятностью ошибки.
3. Построить график зависимости вероятности ошибки на бит на выходе декодера
от  вероятности ошибки в канале
от  вероятности ошибки в канале

## Команды
**Кодирование**
Expand Down

0 comments on commit 4c39900

Please sign in to comment.