Skip to content

Commit

Permalink
added changelog config option
Browse files Browse the repository at this point in the history
also:
- fixed malformed error messages in some circumstances
- added builtin C++ standard macros for C++23
- updated cppreference.com tagfile
- ci updates
  • Loading branch information
marzer committed Aug 14, 2022
1 parent c42be72 commit 333e981
Show file tree
Hide file tree
Showing 9 changed files with 18,867 additions and 10,365 deletions.
80 changes: 56 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
clang_version: '14'
gcc_version: '11'

jobs:
linux:
Expand All @@ -37,7 +40,6 @@ jobs:
matrix:
compiler:
- 'clang++'
# - 'g++'
linker:
- 'lld'
doxygen_tag:
Expand All @@ -53,30 +55,60 @@ jobs:

runs-on: ubuntu-latest

defaults:
run:
shell: bash

steps:
- name: Install system dependencies
run: |
sudo apt -y update
if [ ${{ matrix.compiler }} = clang++ ]; then compiler=clang; else compiler=${{ matrix.compiler }}; fi
sudo apt -y install --no-install-recommends $compiler ${{ matrix.linker }} git python3 python3-pip cmake flex bison
- name: Install base dependencies
run: |
sudo apt -y update
sudo apt -y install --no-install-recommends git python3 python3-pip cmake flex bison
- name: Update LLVM package repository
if: ${{ startsWith(matrix.compiler, 'clang') || startsWith(matrix.linker, 'lld') }}
run: |
sudo apt -y install --no-install-recommends software-properties-common wget
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
codename=$(lsb_release -sc)
sudo add-apt-repository --yes --no-update "deb http://apt.llvm.org/${codename}/ llvm-toolchain-${codename}-${{ env.clang_version }} main"
sudo apt -y update
- name: Install clang
if: ${{ startsWith(matrix.compiler, 'clang') }}
run: |
sudo apt -y install --no-install-recommends clang-${{ env.clang_version }}
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ env.clang_version }} 1000
- name: Install g++
if: ${{ startsWith(matrix.compiler, 'g++') }}
run: |
sudo apt -y install --no-install-recommends g++-${{ env.gcc_version }}
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ env.gcc_version }} 1000
- name: Install lld
if: ${{ startsWith(matrix.linker, 'lld') }}
run: |
sudo apt -y install --no-install-recommends lld-${{ env.clang_version }}
sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-${{ env.clang_version }} 1000
- uses: actions/checkout@v3
with:
path: poxy
submodules: true # m.css is a submodule
- uses: actions/checkout@v3
with:
path: poxy
submodules: true # m.css is a submodule

- name: Install python dependencies
run: |
cd "${{ github.workspace }}/poxy"
sudo pip3 install --upgrade --requirement requirements.txt
- name: Install python dependencies
run: |
cd "${{ github.workspace }}/poxy"
sudo -H pip3 install --upgrade --requirement requirements.txt
- name: Build and install doxygen
run: |
cd "${{ github.workspace }}"
git clone --depth 1 --branch ${{ matrix.doxygen_tag }} https://github.com/doxygen/doxygen.git
cd doxygen
mkdir build
cd build
CXX=${{ matrix.compiler }} CXX_LD=${{ matrix.linker }} cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel ..
CXX=${{ matrix.compiler }} CXX_LD=${{ matrix.linker }} make -j
CXX=${{ matrix.compiler }} CXX_LD=${{ matrix.linker }} sudo make install
- name: Build and install doxygen
run: |
cd "${{ github.workspace }}"
git clone --depth 1 --branch ${{ matrix.doxygen_tag }} https://github.com/doxygen/doxygen.git
cd doxygen
mkdir build
cd build
CXX=${{ matrix.compiler }} CXX_LD=${{ matrix.linker }} cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel ..
CXX=${{ matrix.compiler }} CXX_LD=${{ matrix.linker }} make -j
CXX=${{ matrix.compiler }} CXX_LD=${{ matrix.linker }} sudo make install
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v0.6.0 - 2022-08-14
- Fixed malformed error messages in some circumstances
- Added builtin C++ standard macros for C++23
- Added `changelog` config option
- Updated cppreference.com tagfile

## v0.5.7 - 2022-05-17
- Fixed being able to pass >= 33 threads to Doxygen's `NUM_PROC_THREADS`

Expand Down
Loading

0 comments on commit 333e981

Please sign in to comment.