29 lines
693 B
YAML
29 lines
693 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 update
|
|
apt install -y gcc gcc-multilib g++ g++-multilib \
|
|
python3 pipx python3-pip python3-setuptools python3-wheel \
|
|
ninja-build meson
|
|
|
|
- name: Build
|
|
run: ./build-matrix.sh
|
|
|
|
- name: Upload binaries
|
|
uses: forgejo/upload-artifact@v4
|
|
with:
|
|
name: binaries_${{github.sha}}.zip
|
|
path: ${{ github.workspace }}/hl2sdk-starter/bin/*.so
|
|
|