From 516c6910e708cd9b4d2c5403a20cc9f710131e7d Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sun, 22 Oct 2023 17:08:17 +0100 Subject: [PATCH 1/5] We assume that, upon creating a release, tests and wheels are passing --- .github/workflows/create-release.yaml | 6 ------ .github/workflows/run-carbonate.yaml | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 68952af3..e99d86c4 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -18,12 +18,6 @@ jobs: with: submodules: recursive - - name: Check Compilation, Tests, Examples, Docs and Benchmarks - uses: ./.github/workflows/continuous-integration.yaml - - - name: Generate Python Wheels - uses: ./.github/workflows/wheels.yaml - - name: Zip Source Code run: | zip -r librapid.zip ../librapid diff --git a/.github/workflows/run-carbonate.yaml b/.github/workflows/run-carbonate.yaml index 6b4cdd87..d37c6bc8 100644 --- a/.github/workflows/run-carbonate.yaml +++ b/.github/workflows/run-carbonate.yaml @@ -4,6 +4,7 @@ on: issues: types: [opened] workflow_call: + workflow_dispatch: jobs: carbonate: From 264abcf48eb1713f1eb3c3b69eb80872301bd98b Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sun, 22 Oct 2023 17:12:23 +0100 Subject: [PATCH 2/5] Update RTD config --- .readthedocs.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index fa5fcd2e..e421c7e9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,13 +6,9 @@ formats: all # Set the build image to use the most recent version build: - os: "ubuntu-22.04" - -# Set the python version and requirements -python: - version: "3" - # install: - # - requirements: docs/requirements.txt + os: ubuntu-22.04 + tools: + python: "3.11" # Build documentation in the docs/ directory with Sphinx sphinx: From b4118ef781f0f9f7362be230939558f0e2599e89 Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sun, 22 Oct 2023 17:14:30 +0100 Subject: [PATCH 3/5] Update release script --- .github/workflows/create-release.yaml | 86 +++------------------------ 1 file changed, 7 insertions(+), 79 deletions(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index e99d86c4..93922dd9 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -22,88 +22,16 @@ jobs: run: | zip -r librapid.zip ../librapid - - name: Get latest CMake and ninja - uses: lukka/get-cmake@latest - - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: "3.9" - - - name: Install Clang - uses: KyleMayes/install-llvm-action@v1 - with: - version: "15.0" - directory: "./llvm" - env: on - - - name: Build Doxygen - id: build_doxygen - continue-on-error: true - run: | - git clone --recursive https://github.com/doxygen/doxygen.git - cd doxygen - git checkout Release_1_9_7 - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" - cmake --build . --config Release - sudo make install - env: - CC: gcc - CXX: g++ - - - name: Install Doxygen on Error - if: steps.build_doxygen.outcome != 'success' - run: | - sudo apt install doxygen - - - name: Upgrade Source Distribution - continue-on-error: true - run: | - sudo apt update - sudo apt upgrade -y - sudo apt autoremove -y - - - name: Install LaTeX - continue-on-error: true - run: | - sudo apt-get install -y texlive-full - - - name: Install Requirements - continue-on-error: true - run: | - cd docs - pip install -r requirements.txt - - - name: Force install Sphinx Build - run: | - sudo apt-get install python3-sphinx - - - name: Configure Files - run: | - touch .is_local - - - name: Build HTML Documentation - run: | - cd docs - make html - - - name: Build PDf Documentation - # continue-on-error: true - run: | - cd docs - make latexpdf - - - name: Zip Documentation (HTML) - run: | - zip -r htmlDocs.zip ./docs/build/html - - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false files: | librapid.zip - htmlDocs.zip - docs/build/latex/librapid.pdf + README.md + LICENSE + version.txt + SECURITY.md + CONTRIBUTING.md + CODE_OF_CONDUCT.md + CITATION.cff From 245f3f67a4ac2d40ed428b1531d2918f18004558 Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sun, 22 Oct 2023 17:23:37 +0100 Subject: [PATCH 4/5] Update README [wip] --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8fadfaf..6b7625e5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,17 @@ -

+ + + + + + ![C++ Version](https://img.shields.io/badge/C++-20/23-purple.svg?style=flat&logo=c%2B%2B) ![License](https://img.shields.io/badge/License-MIT-orange.svg?style=flat) [![Discord](https://img.shields.io/discord/848914274105557043?color=blue&label=Discord&logo=Discord)](https://discord.gg/cGxTFTgCAC) From def9ad22ac516cc6aab308220af11e06823b33a6 Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sun, 22 Oct 2023 17:25:34 +0100 Subject: [PATCH 5/5] New Version! --- CITATION.cff | 2 +- Doxyfile | 2 +- pyproject.toml | 2 +- version.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index a690c019..5c3df835 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -5,7 +5,7 @@ authors: - family-names: "Davis" given-names: "Toby" title: "LibRapid: Optimised Mathematics for C++" -version: 0.7.4 +version: 0.7.5 date-released: "2023-10-22" type: software url: "https://github.com/LibRapid/librapid" diff --git a/Doxyfile b/Doxyfile index f2627890..7da096f4 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "LibRapid" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = v0.7.4 +PROJECT_NUMBER = v0.7.5 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/pyproject.toml b/pyproject.toml index f693b457..69ef7efa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ sdist.exclude = [ [project] name = "librapid" -version = "0.7.4" +version = "0.7.5" description = "A high-performance library for arrays and numeric calculations" readme = "README.md" long_description = ["file: README.md"] diff --git a/version.txt b/version.txt index f8e0d1d6..bad78997 100644 --- a/version.txt +++ b/version.txt @@ -1,3 +1,3 @@ MAJOR 0 MINOR 7 -PATCH 4 +PATCH 5