Update build.yml #6
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: C/C++ CI | |
| on: | |
| push: | |
| branches: [ "main", "*" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: deps | |
| run: sudo apt-get update && sudo apt-get install -y meson cmake libx11-dev libxext-dev | |
| - name: configure | |
| run: meson setup -Dprefix=/ build | |
| - name: compile | |
| run: meson compile -j4 -C build | |
| - name: install | |
| run: meson install -C build --destdir="stage" |