Skip to content

Update c-cpp.yml

Update c-cpp.yml #16

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604 # v2.5.0
with:
egress-policy: audit
- name: Get Meson
run: |
sudo apt-get install -y build-essential &&
pip install ninja &&
pip install meson &&
sudo apt-get install -y libmozjs-102-dev
shell: bash
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Meson build
run: |
meson build && ninja -C build