haxeui-core push: Merge pull request #684 from Shallowmallow/wrapperForExposeadd wrapper for expose #1500
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Windows | |
| on: [push, repository_dispatch] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| WXWIN: D:\a\haxeui-hxwidgets\haxeui-hxwidgets\wxWidgets-3.1.3 | |
| strategy: | |
| matrix: | |
| os: [windows-latest] | |
| haxe-version: [4.0.5, 4.1.5, 4.2.2, 4.3.0, 4.3.1] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: egor-tensin/vs-shell@v2 | |
| - name: Setup Haxe (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
| uses: krdlab/setup-haxe@v1 | |
| with: | |
| haxe-version: ${{ matrix.haxe-version }} | |
| - name: Setup app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
| run: | | |
| choco install wget --no-progress | |
| wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.3/wxWidgets-3.1.3.tar.bz2 | |
| 7z x wxWidgets-3.1.3.tar.bz2 | |
| 7z x wxWidgets-3.1.3.tar | |
| cd wxWidgets-3.1.3\build\msw | |
| nmake.exe -f makefile.vc BUILD=release TARGET_CPU=X64 | |
| nmake.exe -f makefile.vc BUILD=release SHARED=1 TARGET_CPU=X64 | |
| cd ..\..\.. | |
| haxelib install hxcpp --always --quiet | |
| git clone --branch master https://github.com/haxeui/haxeui-core.git --depth=1 | |
| haxelib dev haxeui-core haxeui-core | |
| git clone --branch master https://github.com/haxeui/hxWidgets.git --depth=1 | |
| haxelib dev hxWidgets hxWidgets | |
| haxelib dev haxeui-hxwidgets . | |
| - name: Build app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
| run: | | |
| haxe build.hxml |