Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions cpp/.github/workflows/build.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,10 @@ jobs:
with:
version: {% raw %}${{ matrix.python.version }}{% endraw %}

- name: Install dependencies
run: make develop
if: matrix.os != 'windows-latest'
- uses: actions-ext/cpp/setup@51c484ef64088c62434226039d0e3359f5fc8df6

- name: Install dependencies
run: |
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat"
make develop
shell: cmd
if: matrix.os == 'windows-latest'
run: make develop

- name: Lint
run: make lint
Expand Down Expand Up @@ -124,13 +118,10 @@ jobs:

- name: Make dist (Windows)
run: |
if exist dist rmdir /s /q dist
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat"
if (Test-Path dist) { Remove-Item dist -Recurse -Force }
make dist-py-wheel
shell: cmd
env:
CIBW_BUILD: {% raw %}"${{ matrix.python.cibuildwheel }}-win_amd64"{% endraw %}
CIBW_BEFORE_ALL: for /f "usebackq tokens=*" %i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%i\VC\Auxiliary\Build\vcvars64.bat"
if: matrix.os == 'windows-latest'

- uses: actions-ext/python/test-wheel@5f78fa2cadf4dad2a7cded3c72655bcdd3dda735
Expand Down
15 changes: 3 additions & 12 deletions cppjswasm/.github/workflows/build.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,12 @@ jobs:
with:
version: {% raw %}${{ matrix.node-version }}{% endraw %}

- uses: actions-ext/cpp/setup@51c484ef64088c62434226039d0e3359f5fc8df6

- uses: mymindstorm/setup-emsdk@4528d102f7230f0e7b276855c01ea1159be0e984 # v16

- name: Install dependencies
run: make develop
if: matrix.os != 'windows-latest'

- name: Install dependencies
run: |
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat"
make develop
shell: cmd
if: matrix.os == 'windows-latest'

- name: Lint
run: make lint
Expand Down Expand Up @@ -114,13 +108,10 @@ jobs:

- name: Make dist (Windows)
run: |
if exist dist rmdir /s /q dist
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat"
if (Test-Path dist) { Remove-Item dist -Recurse -Force }
make dist-py-wheel
shell: cmd
env:
CIBW_BUILD: {% raw %}"${{ matrix.cibuildwheel }}-win_amd64"{% endraw %}
CIBW_BEFORE_ALL: for /f "usebackq tokens=*" %i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%i\VC\Auxiliary\Build\vcvars64.bat"
if: matrix.os == 'windows-latest'

- uses: actions-ext/python/test-wheel@5f78fa2cadf4dad2a7cded3c72655bcdd3dda735
Expand Down
Loading