Skip to content

Commit

Permalink
Update ci-meson.yaml to allow manual run
Browse files Browse the repository at this point in the history
  • Loading branch information
bootchk authored Jan 23, 2025
1 parent 37b89cd commit 92d2f84
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/ci-meson.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI Meson
name: CIMesonResynth3

on:
# Allow manual run from browser on repo:
# click on action, choose "Run workflow" and branch "resynthesizer3"
# The "master" branch has no meson.build file
workflow_dispatch:

push:
branches:
- "resynthesizer3"
Expand Down Expand Up @@ -29,17 +34,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
- name: Install tools
run: python -m pip install meson==${{ matrix.meson_version }} ninja
- name: Configure Project
- name: Configure build dir
run: meson setup builddir/
env:
CC: gcc
- name: Run Tests
run: meson test -C builddir/ -v
- name: Upload Test Log
uses: actions/upload-artifact@v4
if: failure()
with:
name: ${{ matrix.os }}_Meson_Testlog
path: builddir/meson-logs/testlog.txt
- name: Meson compile
run: meson compile -C builddir/ -v

0 comments on commit 92d2f84

Please sign in to comment.