add linux build actions

This commit is contained in:
coco875
2024-01-24 16:52:59 -06:00
committed by Lywx
parent 01e4b8a861
commit 656440aeee
2 changed files with 25 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Linux Compile
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install cmake ninja-build libbz2-dev
- name: Build
run: |
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build-cmake -j