Skip to content

GOpenHMD base

GOpenHMD base #1

Workflow file for this run

name: tests
on: [pull_request, workflow_dispatch]
permissions:
checks: write
jobs:
test:
name: tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update packages
run: sudo apt-get update
- name: Install packages
uses: awalsh128/[email protected]
with:
packages: valac gjs meson libopenhmd-dev gobject-introspection libgirepository1.0-dev
version: 1.0
- name: Meson Build
uses: BSFishy/[email protected]
with:
action: build
- name: Meson Build 'typelib' target
run: cd build && meson compile 'gopenhmd typelib'
- name: Meson Test
uses: BSFishy/[email protected]
with:
action: test
- name: Meson Install
uses: BSFishy/[email protected]
with:
action: install
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ !env.ACT }}
with:
comment_mode: off
files: |
builddir/meson-logs/*.junit.xml