Skip to content

Commit

Permalink
ci: windows: requires msys2 shell for action-meson
Browse files Browse the repository at this point in the history
  • Loading branch information
pthierry-ledger committed Aug 2, 2024
1 parent ce3c0a7 commit 9dacace
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,15 @@ jobs:
run: |
defconfig configs/nucleo_u5a5_autotest_defconfig
- name: Meson Build
uses: outpost-os/action-meson@support-custom-pip-bin-name
with:
cross_files: ${{ format('{0}/{1}', env.MESON_CROSS_FILES, 'mingw64-arm-none-eabi-gcc.ini') }}
actions: '["prefetch", "setup", "compile"]'
options: '-Dconfig=.config -Ddts=dts/examples/nucleo_u5a5_autotest.dts -Ddts-include-dirs=dts'
pip: 'python3 -m pip'
run: |
meson subprojects download || true
meson subprojects foreach python3 -m pip install -r requirements.txt || true
meson setup -Dconfig=.config -Ddts=dts/examples/nucleo_u5a5_autotest.dts -Ddts-include-dirs=dts --cross-file D:\a\sentry-kernel\sentry-kernel\crossfiles\mingw64-arm-none-eabi-gcc.ini builddir
ninja -C builddir
ninja -C builddir test
ninja -C builddir coverage
ninja -C builddir install
meson dist --no-tests --include-subprojects
env:
MSYS2_ARCH: x86_64
MSYS2_CURSES: pdcurses
Expand Down

0 comments on commit 9dacace

Please sign in to comment.