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 committed May 9, 2024
1 parent a46c596 commit 178b3a9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Buildtest

on: push

jobs:
build:
strategy:
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)
run: |
brew install libxml2
brew install libusb
- name: Build
run: make

0 comments on commit 178b3a9

Please sign in to comment.