Merge pull request #3858 from eli-schwartz/msvc-dev-cmd

CI: meson: use builtin handling for MSVC
This commit is contained in:
Yann Collet
2024-01-13 11:36:20 -08:00
committed by GitHub
+2 -4
View File
@@ -246,14 +246,12 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v3 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v3
- name: Install packages - name: Install packages
run: pip install --pre meson run: pip install --pre meson
- name: Initialize the MSVC dev command prompt
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89
- name: Configure with Meson - name: Configure with Meson
run: | run: |
meson setup build/meson/ builddir -Dbin_tests=true -Dbin_programs=true -Dbin_contrib=true meson setup --vsenv build/meson/ builddir -Dbin_tests=true -Dbin_programs=true -Dbin_contrib=true
- name: Build with Meson - name: Build with Meson
run: | run: |
ninja -C builddir/ meson compile -C builddir/
- name: Test with Meson - name: Test with Meson
run: | run: |
meson test -C builddir/ --print-errorlogs meson test -C builddir/ --print-errorlogs