Fix c_entfirepawn entity count #93
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: CI | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- LICENSE | |
- README.md | |
- 'configs**' | |
- '**.sln' | |
- '**.vcxproj**' | |
pull_request: | |
paths-ignore: | |
- LICENSE | |
- README.md | |
- 'configs**' | |
- '**.sln' | |
- '**.vcxproj**' | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
env: | |
HL2SDKCS2: ${{ github.workspace }}/CS2Fixes/sdk | |
container: ${{ matrix.container }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
include: | |
- os: windows-latest | |
- os: ubuntu-latest | |
container: registry.gitlab.steamos.cloud/steamrt/sniper/sdk | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: CS2Fixes | |
submodules: recursive | |
- name: Checkout Metamod | |
uses: actions/checkout@v4 | |
with: | |
repository: alliedmodders/metamod-source | |
ref: master | |
path: mmsource-2.0 | |
submodules: recursive | |
- name: Checkout AMBuild | |
uses: actions/checkout@v4 | |
with: | |
repository: alliedmodders/ambuild | |
path: ambuild | |
- name: Install AMBuild | |
run: | | |
cd ambuild && python setup.py install && cd .. | |
- name: Build | |
working-directory: CS2Fixes | |
shell: bash | |
run: | | |
mkdir build && cd build | |
python ../configure.py --enable-optimize --symbol-files --sdks cs2 | |
ambuild | |