File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ env :
10+ BUILD_TYPE : Release
11+
12+ jobs :
13+ build :
14+ runs-on : windows-latest
15+
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : Set up vcpkg
20+ uses : lukka/run-vcpkg@v11
21+ with :
22+ vcpkgGitCommitId : ' 2024.02.14'
23+
24+ - name : Install wxWidgets
25+ run : |
26+ vcpkg install wxwidgets:x64-windows-static
27+
28+ - name : Configure CMake
29+ run : |
30+ cmake -B ${{github.workspace}}/build `
31+ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} `
32+ -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake `
33+ -DwxWidgets_USE_STATIC=ON
34+
35+ - name : Build
36+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
37+
38+ - name : Upload artifacts
39+ uses : actions/upload-artifact@v3
40+ with :
41+ name : LaminaIDE-Windows
42+ path : ${{github.workspace}}/build/bin/Release/
You can’t perform that action at this time.
0 commit comments