Skip to content

Commit e37f509

Browse files
committed
Update build workflow to validate WebAssembly build on Windows and upgrade EMSDK version
1 parent 6c6f7c2 commit e37f509

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/build-occt-wasm-mingw.yml

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow validates the WebAssembly build on Windows using MinGW and MSYS2.
1+
# This workflow validates the WebAssembly build on Windows.
22
# It is triggered on pushes to the master branch.
33
# The workflow includes steps to install dependencies, configure, build, and clean up the project.
44

@@ -21,7 +21,7 @@ env:
2121
VCPKG_EXE: ${{ github.workspace }}/vcpkg/vcpkg
2222
FEED_URL: https://nuget.pkg.github.com/Open-Cascade-SAS/index.json
2323
VCPKG_BINARY_SOURCES: "clear;nuget,https://nuget.pkg.github.com/Open-Cascade-SAS/index.json,readwrite"
24-
EMSDK_VERSION: 3.1.51
24+
EMSDK_VERSION: 3.1.74
2525

2626
jobs:
2727
wasm-build:
@@ -36,20 +36,9 @@ jobs:
3636
- name: Checkout repository
3737
uses: actions/[email protected]
3838

39-
- name: Set up MSYS2
40-
uses: msys2/setup-msys2@v2
41-
with:
42-
msystem: MINGW64
43-
update: true
44-
install: >-
45-
mingw-w64-x86_64-toolchain
46-
mingw-w64-x86_64-cmake
47-
mingw-w64-x86_64-ninja
48-
git
49-
5039
- name: Setup vcpkg
5140
run: |
52-
git clone https://github.com/microsoft/vcpkg.git
41+
git clone --branch 2024.12.16 https://github.com/microsoft/vcpkg.git
5342
.\vcpkg\bootstrap-vcpkg.bat
5443
shell: cmd
5544

0 commit comments

Comments
 (0)