Skip to content

Commit 2ef5135

Browse files
committed
pip install and variable substitution
1 parent 40e6ffe commit 2ef5135

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/windows.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,15 @@ jobs:
4646
- uses: microsoft/setup-msbuild@v2
4747
with:
4848
vs-version: 17
49+
- uses: actions/setup-python@v5
50+
with:
51+
python-version: "3.x"
52+
- name: install dependencies
53+
run: python -m pip install ninja mason
4954
- name: Build
5055
run: |
51-
SPECIFIER=meson-build-${{ matrix.linking }}
52-
meson setup --backend=ninja -Ddefault_library=${{ matrix.linking }} $SPECIFIER .
53-
meson compile -v -C $SPECIFIER
56+
meson setup --backend=ninja -Ddefault_library=${{ matrix.linking }} meson-build-${{ matrix.linking }} .
57+
meson compile -v -C meson-build-${{ matrix.linking }}
5458
- name: Test
5559
run: |
56-
SPECIFIER=meson-build-${{ matrix.linking }}
57-
meson test -C $SPECIFIER
60+
meson test -C meson-build-${{ matrix.linking }}

0 commit comments

Comments
 (0)