example: gurantee destroying user data before canvas destruction #97
Workflow file for this run
This file contains hidden or 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: Build Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install meson ninja-build libsdl2-dev | |
| - name: Install ThorVG | |
| run: | | |
| git clone https://github.com/thorvg/thorvg.git thorvg | |
| cd thorvg | |
| meson . build -Dloaders=all -Dsavers=gif -Dbindings=capi -Dstatic=true | |
| sudo ninja -C build install | |
| cd .. | |
| - name: Build | |
| run: | | |
| meson setup build | |
| ninja -C build |