Skip to content

Create Release

Create Release #19

Workflow file for this run

name: "Create Release"
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout LibRapid
uses: actions/checkout@v3
with:
submodules: recursive
- name: Compile
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -DLIBRAPID_BUILD_EXAMPLES=on -DLIBRAPID_BUILD_TESTS=on -DLIBRAPID_GET_BLAS=ON -DLIBRAPID_USE_MULTIPREC=ON
cmake --build . --config Release
- name: Run Tests
run: |
cd build
ctest -C Release --output-on-failure
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
README.md
LICENSE
version.txt
SECURITY.md
CITATION.cff
CODE_OF_CONDUCT.md
CONTRIBUTING.md