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 dc3235e commit 492bf96
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 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 @@ -257,30 +258,25 @@ jobs:

# Record the versions of all the tools used in the build
- name: Version tools
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 492bf96

Please sign in to comment.