Skip to content

Commit

Permalink
Create c-cpp.yml
Browse files Browse the repository at this point in the history
Signed-off-by: lurkydismal <[email protected]>
  • Loading branch information
lurkydismal authored Jul 28, 2023
1 parent d2eacb2 commit 45f65a8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: C/C++ CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Get APT Package Wine
run: |
sudo apt-get install -y build-essential &&
sudo apt-get install -y ninja-build &&
sudo apt-get install -y meson &&
sudo apt-get install -y libmozjs-102-dev
shell: bash

- name: Checkout repository
uses: actions/checkout@v3

- name: Meson build
run: |
meson build && ninja -C build

0 comments on commit 45f65a8

Please sign in to comment.