Skip to content

Commit

Permalink
github: Switched the MinGW/MSYS2 builds to using Meson for PR checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Oct 18, 2024
1 parent f3f4447 commit f3fd711
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ jobs:
path-type: inherit
pacboy: >-
toolchain:p
meson:p
# Build a suitable runtime environment
- name: Runtime environment
Expand Down Expand Up @@ -260,27 +261,23 @@ jobs:
shell: bash
run: |
$CC --version
make --version
meson --version
ninja --version
# Checkout the repository and branch to build under the default location
- name: Checkout
uses: actions/checkout@v4

# Build BMDA in BMP-only mode
- name: Build BMP only BMDA
run: make PROBE_HOST=hosted HOSTED_BMP_ONLY=1

- name: Clean
run: make -C src clean

# Install the dependencies needed for a full BMDA build
# Install the dependencies needed for a BMDA build
- name: Install BMDA dependencies
run: |
pacman --noconfirm -S mingw-w64-${{matrix.sys.env}}-libusb mingw-w64-${{matrix.sys.env}}-hidapi
# And build that full binary
- name: Build full BMDA
run: make PROBE_HOST=hosted HOSTED_BMP_ONLY=0
- name: Build BMDA with MSYS2-provided dependencies
run: |
meson setup build
meson compile -C build
# This workflow tests the experimental Meson build system
build-linux-meson:
Expand Down

0 comments on commit f3fd711

Please sign in to comment.