Lasem 0.5.2 #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lasem-Linux | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
release: | |
workflow_dispatch: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
pip3 install meson ninja Markdown toml typogrify | |
sudo apt update | |
sudo apt install python3 gobject-introspection valgrind python3-gi gettext libpango1.0-dev libcairo2-dev libgirepository1.0-dev fonts-lyx | |
- name: Build | |
run: | | |
meson --buildtype=plain -Ddocumentation=enabled -Dintrospection=enabled . ./build | |
ninja -C ./build | |
env: | |
CC: gcc | |
- name: Tests | |
run: meson test -C build/ -v | |
- name: Memcheck | |
run: meson test -C build/ -v --setup="valgrind" --test-args="-m no-undefined" str dom filter | |
- name: Render | |
run: | | |
cp -r ./tests/data ./build/docs/reference/lasem/lasem-0.6 | |
rm ./build/docs/reference/lasem/lasem-0.6/data/.gitignore | |
cd ./build/docs/reference/lasem/lasem-0.6 && ../../../../tests/lsm-test data | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: Linux_Meson_Testlog | |
path: build/meson-logs/testlog.txt | |
- name: Documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/docs/reference/lasem/lasem-0.6 | |
force_orphan: true | |