Skip to content

Merge branch 'main' of https://github.com/Cruze03/FakeRanks-RevealAll #5

Merge branch 'main' of https://github.com/Cruze03/FakeRanks-RevealAll

Merge branch 'main' of https://github.com/Cruze03/FakeRanks-RevealAll #5

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
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: FakeRanks-RevealAll
submodules: recursive
- name: Checkout Metamod
uses: actions/checkout@v4
with:
repository: alliedmodders/metamod-source
ref: master
path: mmsource-2.0
submodules: recursive
- name: Checkout HL2SDK
uses: actions/checkout@v4
with:
repository: alliedmodders/hl2sdk
ref: cs2
path: hl2sdk-cs2
- 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: FakeRanks-RevealAll
shell: bash
run: |
mkdir build && cd build
python ../configure.py --enable-optimize --symbol-files --sdks cs2 --hl2sdk-manifests hl2sdk-manifests
ambuild
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}
path: FakeRanks-RevealAll/build/package