Skip to content

Lexer done

Lexer done #2

Workflow file for this run

name: Build, test, docs
on:
push:
tags:
- 'v*'
permissions:
contents: write
job:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
cmake \
ninja-build \
clang \
llvm \
lld \
libgtest-dev \
libgmock-dev \
build-essential
cd /usr/src/googletest
sudo cmake -S . -B build
sudo cmake --build build --target install
- name: Configure
run: |
cmake -S . -B build -G Ninja \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build
- name: Test
working-directory: build
run: ctest --output-on-failure
# generate-docs:
# runs-on: ubuntu-latest
# needs: build-and-test
# steps:
# - uses: actions/checkout@v3
# - name: Install Doxygen
# run: sudo apt-get update && sudo apt-get install -y doxygen graphviz
# - name: Generate Doxygen
# run: doxygen Doxyfile
# - name: Deploy Docs
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs/html
# publish_branch: gh-pages
# force_orphan: true