Update build.yml: try sudo #3
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: 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 | |
- name: configure | |
run: meson setup build | |
- name: compile | |
run: meson compile -C build | |
# - name: make check | |
# run: make check | |
# - name: make distcheck | |
# run: make distcheck |