This commit is contained in:
parent
d5eddc8376
commit
507a605a9b
1 changed files with 13 additions and 11 deletions
|
@ -1,26 +1,28 @@
|
||||||
name: Build project
|
name: Build project
|
||||||
|
|
||||||
on: [push, workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: node-bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout this repo
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: 'hl2sdk-starter'
|
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: >
|
run: |
|
||||||
sudo apt-get update &&
|
apt-get update
|
||||||
sudo apt-get install gcc gcc-multilib g++ g++-multilib
|
apt-get install gcc gcc-multilib g++ g++-multilib
|
||||||
python3 python3-pip python3-setuptools python3-wheel ninja-build &&
|
python3 python3-pip python3-setuptools python3-wheel ninja-build
|
||||||
pip3 install --user meson
|
pip3 install --user meson
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: >
|
run: ./build-matrix.sh
|
||||||
cd ${{ github.workspace }}/hl2sdk-starter &&
|
|
||||||
./build-matrix.sh
|
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v4
|
uses: forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries_${{github.sha}}
|
name: binaries_${{github.sha}}
|
||||||
path: ${{ github.workspace }}/hl2sdk-starter/bin/*.so
|
path: ${{ github.workspace }}/hl2sdk-starter/bin/*.so
|
Loading…
Add table
Add a link
Reference in a new issue