Skip to content

Commit

Permalink
Update GitHub Actions runner to ubuntu-22.04 (#344)
Browse files Browse the repository at this point in the history
This PR updates the GitHub Actions runner from ubuntu-20.04 to
ubuntu-22.04.
  • Loading branch information
JonatanAntoni authored Feb 12, 2025
1 parent e9046ff commit dca5064
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ on:
jobs:
docs:
name: Build main documentation
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y graphviz plantuml libclang1-9 libclang-cpp1-9
- name: Install doxygen 1.9.2
sudo apt-get install --no-install-recommends -y graphviz plantuml
- name: Install doxygen 1.9.6
run: |
wget -O doxygen.tgz https://sourceforge.net/projects/doxygen/files/rel-1.9.2/doxygen-1.9.2.linux.bin.tar.gz/download
wget -O doxygen.tgz https://sourceforge.net/projects/doxygen/files/rel-1.9.6/doxygen-1.9.6.linux.bin.tar.gz/download
sudo tar -C /opt -xf doxygen.tgz
sudo ln -s /opt/doxygen-1.9.2/bin/doxygen /usr/local/bin/
sudo ln -s /opt/doxygen-1.9.6/bin/doxygen /usr/local/bin/
which doxygen
doxygen --version
- name: Install linkchecker
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
pack:
name: Validate pack schema
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
index:
name: Validate index schema
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install packages
Expand Down
6 changes: 3 additions & 3 deletions doxygen/gen_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# Pre-requisites:
# - bash shell (for Windows: install git for Windows)
# - doxygen 1.9.2
# - doxygen 1.9.6

set -o pipefail

Expand All @@ -21,8 +21,8 @@ if [[ ! -f "${DOXYGEN}" ]]; then
else
version=$("${DOXYGEN}" --version | sed -r -e 's/.*([1-9][0-9]*\.[0-9]+\.[0-9]+).*/\1/')
echo "DOXYGEN is ${DOXYGEN} at version ${version}"
if [[ "${version}" != "1.9.2" ]]; then
echo " >> Version is different from 1.9.2 !" >&2
if [[ "${version}" != "1.9.6" ]]; then
echo " >> Version is different from 1.9.6 !" >&2
fi
fi

Expand Down

0 comments on commit dca5064

Please sign in to comment.