feat: cmake builds on Apple: query brew for its prefix #548
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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| buildUbuntu: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: make | |
| run: | | |
| cd vt | |
| make demos | |
| cd ../fb | |
| make UTF8=Y demos | |
| buildOSX: | |
| runs-on: macOS-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: make | |
| run: | | |
| cd vt | |
| make CLANG=Y demos | |
| buildWindows: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: make | |
| run: | | |
| call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | |
| cd wingui | |
| nmake UTF8=Y DLL=Y -f Makefile.vc demos | |
| cd ..\wincon | |
| nmake DLL=Y -f Makefile.vc demos | |
| cd ..\vt | |
| nmake CHTYPE_32=Y -f Makefile.vc demos | |
| shell: cmd |