Skip to content

Commit

Permalink
github: Introduce build workflow
Browse files Browse the repository at this point in the history
Build the project across Ubuntu and macOS.

Signed-off-by: Bjorn Andersson <[email protected]>
  • Loading branch information
quic-bjorande authored and Konrad Dybcio committed May 9, 2024
1 parent 5f2f82a commit 983ec51
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Buildtest

on:
pull_request:
push:

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Dependencies (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libxml2-dev libusb-1.0-0-dev
- name: Dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install libxml2
brew install libusb
- name: Build
run: make

0 comments on commit 983ec51

Please sign in to comment.