CGlowFlash::~CGlowFlash #172
This file contains 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: C/C++ CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
compiler: [g++, clang++] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install 32-bit libs | |
run: sudo apt install g++-multilib | |
- name: Setup Makefile | |
run: CXX=${{ matrix.compiler }} cmake -B out | |
- name: Build | |
run: cmake --build out | |
- name: Run | |
run: ./out/spider | |
build-win: | |
runs-on: windows-2022 | |
steps: | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- uses: actions/checkout@v4 | |
- name: Generate solution | |
run: cmake -B out -A Win32 | |
- name: Compile | |
working-directory: ./out | |
run: msbuild spider.sln /p:Platform=Win32 /p:Configuration=Release | |
- name: Run | |
working-directory: ./out | |
run: Release\spider.exe | |
build-mac: | |
if: false | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Makefile | |
run: cmake -B out | |
- name: Build | |
continue-on-error: true | |
run: cmake --build out | |
- name: Run | |
continue-on-error: true | |
run: ./out/spider |