29 lines
701 B
YAML
29 lines
701 B
YAML
name: Build project
|
|
|
|
on: [push, workflow_dispatch]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: node-bookworm
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
apt-get update
|
|
apt-get install gcc gcc-multilib g++ g++-multilib
|
|
python3 python3-pip python3-setuptools python3-wheel ninja-build
|
|
pip3 install --user meson
|
|
|
|
- name: Build
|
|
run: ./build-matrix.sh
|
|
|
|
- name: Upload binaries
|
|
uses: forgejo/upload-artifact@v4
|
|
with:
|
|
name: binaries_${{github.sha}}
|
|
path: ${{ github.workspace }}/hl2sdk-starter/bin/*.so
|
|
|