Skip to content

Bump meson from 1.1.1 to 1.2.0 in /.github/workflows #387

Bump meson from 1.1.1 to 1.2.0 in /.github/workflows

Bump meson from 1.1.1 to 1.2.0 in /.github/workflows #387

Workflow file for this run

name: GitHub CI
on:
pull_request:
branches: [ master ]
paths:
- 'meson.build'
- '.github/workflows/**'
- '**.c'
push:
branches: [ master ]
paths:
- 'meson.build'
- '.github/workflows/**'
- '**.c'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
env:
- { CC: "gcc" }
- { CC: "clang" }
env: ${{ matrix.env }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845
with:
egress-policy: block
allowed-endpoints: >
azure.archive.ubuntu.com:80
github.com:443
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Install packages
run: sudo apt-get install build-essential gcc clang meson
- name: Setup
run: meson setup builddir/
- name: Compile with (${{ env.CC }})
run: meson compile -C builddir/ -v
- name: Test
run: meson test -C builddir/ -v