From: "flichtenheld (Code Review)" Date: Mon, 10 Feb 2025 14:07:47 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="Sg+8HIHkT+M="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: GHA: Publish Doxygen documentation to Github Pages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --Sg+8HIHkT+M= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/887?usp=3Demail to review the following change. Change subject: GHA: Publish Doxygen documentation to Github Pages ...................................................................... GHA: Publish Doxygen documentation to Github Pages To make it more easily available to everyone. Change-Id: I3922714972fffb3d7b1592f882d09c1fe1137241 Signed-off-by: Frank Lichtenheld --- A .github/workflows/doxygen.yml 1 file changed, 53 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/87/887/1 diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 0000000..f1ece70 --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,53 @@ +name: Deploy Doxygen documentation to Pages +on: + push: + branches: ["master"] + workflow_dispatch: +concurrency: + group: "pages" + cancel-in-progress: false +jobs: + build: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@...2844... # v4.2.2 + with: + path: openvpn + + - name: Install dependencies + run: | + sudo apt update + sudo apt install -y --no-install-recommends \ + build-essential doxygen graphviz \ + liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3= -dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automak= e autoconf libssl-dev + + - name: Build Doxygen documentation + id: build + run: | + cd openvpn + autoreconf -f -i + cd .. + mkdir doxygen + cd doxygen + ../openvpn/configure + make doxygen + touch doc/doxygen/html/.nojekyll + - name: Upload static files as artifact + id: deployment + uses: actions/upload-pages-artifact@...2858... + with: + path: doxygen/doc/doxygen/html/ + + deploy: + needs: build + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appr= opriate source + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-24.04 + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@...2859... -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/887?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I3922714972fffb3d7b1592f882d09c1fe1137241 Gerrit-Change-Number: 887 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-MessageType: newchange --Sg+8HIHkT+M= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

Vi= ew Change

GHA: Publish Doxygen documentation to Github Pages

To = make it more easily available to everyone.

Change-Id: I3922714972fff= b3d7b1592f882d09c1fe1137241
Signed-off-by: Frank Lichtenheld <frank@...220...= ..2641...>
---
A .github/workflows/doxygen.yml
1 file changed, = 53 insertions(+), 0 deletions(-)

git pull ssh://gerrit.openvpn.ne=
t:29418/openvpn refs/changes/87/887/1
diff --git a/.github/workflow=
s/doxygen.yml b/.github/workflows/doxygen.yml
new file mode= 100644
index 0000000..f1ece70
--- /dev/nul= l
+++ b/.github/workflows/doxygen.yml
@@ -0= ,0 +1,53 @@
+name: De= ploy Doxygen documentation to Pages
+on:
+= push:
+ branches= : ["master"]
+concurrency:
+ g= roup: "pages"
+ cancel-in-progress: false
+jobs:
+ = build:
+ runs-on: = ubuntu-24.04
+ ste= ps:
+ - uses: ac= tions/checkout@...2844... # v4.2.2
+ with:
+ path: openvpn
+
+ = - name: Install dependencies
+ run: |
+ sudo apt update
+ sudo apt install -y --no-install-recommends \+ build-essential d= oxygen graphviz \
+ = liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3-de= v linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake a= utoconf libssl-dev
+<= /span>
+ - name: Build = Doxygen documentation
+ id: build
+= run: |
+ = cd openvpn
+ = autoreconf -f -i
+ = mkdir doxygen
+ ../openvpn/configure
+ make doxygen
+ touch doc/doxygen/html/.nojekyll
+ - name: Upload static files = as artifact

+ = id: deployment
+ = uses: actions/upload-pages-artifact@...2858...
+ with:
+ path: doxygen/doc/doxygen/html/+
+ deploy:
+ needs: build
+ permissions:
+ pages: write # to deploy to Pages
+ id-token: write # to verify the= deployment originates from an appropriate source
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.p= age_url }}
+ runs-= on: ubuntu-24.04
+ = steps:
+ - name= : Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@...2859...

To view, visit change 887. To unsubscribe, or for help writing ma= il filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3922714972fffb3d7b1592f882d= 09c1fe1137241
Gerrit-Change-Number: 887
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-MessageType: newchange
--Sg+8HIHkT+M=--