Skip to content

fix deprecated game_props.buttons #1

fix deprecated game_props.buttons

fix deprecated game_props.buttons #1

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Continuous Integration ${{ matrix.target_name }} ${{ matrix.toolset_name }} ${{ matrix.build_type }}
runs-on: windows-latest
strategy:
matrix:
build_type: [Debug, Release]
toolset_name: [MSVC, Clang]
build_dll: [false, true]
include:
- toolset_name: MSVC
toolset: v143
- toolset_name: Clang
toolset: ClangCL
- build_dll: false
additional_opts: -DBUILD_OVERLUNKY=ON -DBUILD_INFO_DUMP=ON -DBUILD_SPEL2_DLL=OFF
target_name: overlunky
- build_dll: true
additional_opts: -DBUILD_OVERLUNKY=OFF -DBUILD_INFO_DUMP=OFF -DBUILD_SPEL2_DLL=ON
target_name: spel2.dll
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: true
- name: Remove Strawberry Perl from PATH
run: |
$env:PATH = $env:PATH -replace "C:\\Strawberry\\c\\bin;", ""
"PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Configure
run: |
mkdir build
cd build
cmake .. -Wno-dev -A x64 -T ${{ matrix.toolset }} ${{ matrix.additional_opts }}
- name: Build
run: |
cd build
cmake --build . --config ${{ matrix.build_type }} --target ALL_BUILD