Skip to content

Commit

Permalink
Added release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjan committed Feb 22, 2024
1 parent dad81a5 commit 8a13bde
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,3 @@ jobs:
- name: Build documentation
run: sphinx-build docssource/ documentation/

- name: Create github pages
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: documentation
69 changes: 69 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Create Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
GitHub-Release:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
submodules: recursive

- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false

Documentation-Release:

runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
submodules: recursive

- name: Setup python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Install doc dependencies
run: |
sudo apt update
sudo apt-get install -y build-essential octave portaudio19-dev python-dev-is-python3 pandoc graphviz
export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
pip install -e .[test,documentation,quadriga,uhd,audio]
- name: Build documentation
run: sphinx-build docssource/ documentation/

# ToDo: Execute this action only on the highest tag
- name: Create github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: documentation
2 changes: 1 addition & 1 deletion submodules/affect
Submodule affect updated 45 files
+1 −1 LICENSE
+0 −3 doc/requirements.txt
+1 −1 doc/source/conf.py
+2 −2 include/Module/Channel/Channel.hpp
+1 −1 include/Module/Decoder/Decoder_HIHO.hpp
+1 −1 include/Module/Decoder/Decoder_SIHO.hpp
+1 −1 include/Module/Decoder/Decoder_SISO.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Decoder_LDPC_BP.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Flooding/Decoder_LDPC_BP_flooding.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Flooding/Decoder_LDPC_BP_flooding_inter.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Flooding/Decoder_LDPC_BP_flooding_inter.hxx
+1 −1 include/Module/Decoder/LDPC/BP/Horizontal_layered/Decoder_LDPC_BP_horizontal_layered.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Horizontal_layered/Decoder_LDPC_BP_horizontal_layered_inter.hpp
+6 −6 include/Module/Decoder/LDPC/BP/Horizontal_layered/Decoder_LDPC_BP_horizontal_layered_inter.hxx
+1 −1 include/Module/Decoder/LDPC/BP/Horizontal_layered/ONMS/Decoder_LDPC_BP_horizontal_layered_ONMS_inter.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Peeling/Decoder_LDPC_BP_peeling.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Vertical_layered/Decoder_LDPC_BP_vertical_layered.hpp
+1 −1 include/Module/Decoder/LDPC/BP/Vertical_layered/Decoder_LDPC_BP_vertical_layered_inter.hpp
+6 −6 include/Module/Decoder/LDPC/BP/Vertical_layered/Decoder_LDPC_BP_vertical_layered_inter.hxx
+4 −4 include/Module/Decoder/RS/Decoder_RS.hpp
+1 −1 include/Module/Encoder/Encoder.hpp
+7 −7 include/Module/Modem/Modem.hpp
+0 −3 include/Module/Module.hpp
+4 −4 include/Module/Puncturer/Puncturer.hpp
+4 −4 include/Module/Puncturer/Puncturer.hxx
+0 −6 include/Module/Socket.hpp
+0 −40 include/Module/Socket.hxx
+1 −1 include/Module/Source/Source.hpp
+8 −20 include/Module/Switcher/Switcher.hpp
+19 −57 include/Module/Switcher/Switcher.hxx
+0 −6 include/Module/Task.hpp
+1 −1 include/Tools/Sequence/Pipeline.hpp
+6 −17 include/Tools/Sequence/Sequence.hpp
+1 −1 lib/MIPP
+7 −8 src/Module/Decoder/RS/Decoder_RS.cpp
+1 −2 src/Module/Decoder/RS/Standard/Decoder_RS_std.cpp
+1 −8 src/Module/Extractor/RSC/Extractor_RSC.cpp
+0 −32 src/Module/Module.cpp
+0 −29 src/Module/Task.cpp
+3 −13 src/Simulation/BFER/Iterative/Simulation_BFER_ite.cpp
+13 −26 src/Simulation/BFER/Standard/Simulation_BFER_std.cpp
+0 −7 src/Tools/Sequence/Pipeline.cpp
+28 −165 src/Tools/Sequence/Sequence.cpp
+5 −5 src/Tools/system_functions.cpp
+1 −1 src/main.cpp

0 comments on commit 8a13bde

Please sign in to comment.