Skip to content

Commit b4118ef

Browse files
committed
Update release script
1 parent 264abcf commit b4118ef

File tree

1 file changed

+7
-79
lines changed

1 file changed

+7
-79
lines changed

.github/workflows/create-release.yaml

+7-79
Original file line numberDiff line numberDiff line change
@@ -22,88 +22,16 @@ jobs:
2222
run: |
2323
zip -r librapid.zip ../librapid
2424
25-
- name: Get latest CMake and ninja
26-
uses: lukka/get-cmake@latest
27-
28-
- name: Setup Python
29-
uses: actions/setup-python@v4
30-
with:
31-
python-version: "3.9"
32-
33-
- name: Install Clang
34-
uses: KyleMayes/install-llvm-action@v1
35-
with:
36-
version: "15.0"
37-
directory: "./llvm"
38-
env: on
39-
40-
- name: Build Doxygen
41-
id: build_doxygen
42-
continue-on-error: true
43-
run: |
44-
git clone --recursive https://github.com/doxygen/doxygen.git
45-
cd doxygen
46-
git checkout Release_1_9_7
47-
mkdir build
48-
cd build
49-
cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
50-
cmake --build . --config Release
51-
sudo make install
52-
env:
53-
CC: gcc
54-
CXX: g++
55-
56-
- name: Install Doxygen on Error
57-
if: steps.build_doxygen.outcome != 'success'
58-
run: |
59-
sudo apt install doxygen
60-
61-
- name: Upgrade Source Distribution
62-
continue-on-error: true
63-
run: |
64-
sudo apt update
65-
sudo apt upgrade -y
66-
sudo apt autoremove -y
67-
68-
- name: Install LaTeX
69-
continue-on-error: true
70-
run: |
71-
sudo apt-get install -y texlive-full
72-
73-
- name: Install Requirements
74-
continue-on-error: true
75-
run: |
76-
cd docs
77-
pip install -r requirements.txt
78-
79-
- name: Force install Sphinx Build
80-
run: |
81-
sudo apt-get install python3-sphinx
82-
83-
- name: Configure Files
84-
run: |
85-
touch .is_local
86-
87-
- name: Build HTML Documentation
88-
run: |
89-
cd docs
90-
make html
91-
92-
- name: Build PDf Documentation
93-
# continue-on-error: true
94-
run: |
95-
cd docs
96-
make latexpdf
97-
98-
- name: Zip Documentation (HTML)
99-
run: |
100-
zip -r htmlDocs.zip ./docs/build/html
101-
10225
- uses: "marvinpinto/action-automatic-releases@latest"
10326
with:
10427
repo_token: "${{ secrets.GITHUB_TOKEN }}"
10528
prerelease: false
10629
files: |
10730
librapid.zip
108-
htmlDocs.zip
109-
docs/build/latex/librapid.pdf
31+
README.md
32+
LICENSE
33+
version.txt
34+
SECURITY.md
35+
CONTRIBUTING.md
36+
CODE_OF_CONDUCT.md
37+
CITATION.cff

0 commit comments

Comments
 (0)