Skip to content

Commit

Permalink
actions: various platform build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vhavlena committed Dec 19, 2024
1 parent 418c262 commit e9a7853
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Various platforms (build-&-test)

on:
push:
branches:
- master
- devel
pull_request:
branches:
- master
- devel
# allows to run the action from GitHub UI
workflow_dispatch:


jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install dependencies
run: sudo wget -O /etc/apt/trusted.gpg.d/lrde.gpg https://www.lrde.epita.fr/repo/debian.gpg
- run: sudo sudo sh -c "echo 'deb http://www.lrde.epita.fr/repo/debian/ unstable/' >> /etc/apt/sources.list"
- run: sudo apt-get update
- run: sudo apt-get install -y spot libspot-dev python3-spot libspot0 libspotgen0 libspotltsmin0
- name: Compile release
run: make release
- name: Test release
run: make test
setup:
runs-on: macos-15
steps:
- uses: actions/checkout@v3
- name: Building MacOS dependencies
run: brew install spot
- name: Compile
run: make release
- name: Test the library
run: make test

0 comments on commit e9a7853

Please sign in to comment.