Skip to content

Commit

Permalink
CI: add build Linux library/binary workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidB137 committed Mar 15, 2024
1 parent 68e4155 commit 0f69977
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build Linux library and binaries

on:
push:
branches: ["*"]

jobs:
build_linux:
runs-on: ubuntu-latest
steps:

- name: Install dependencies
run: sudo apt update && sudo apt-get install -y git make cmake

- name: Checkout
uses: actions/checkout@v3

- name: Configure
run: cd linux && mkdir build && cd build && cmake ..

- name: Build
run: cd linux/build && make

- name: Install to system
run: cd linux/build && sudo make install

0 comments on commit 0f69977

Please sign in to comment.