Skip to content

Commit

Permalink
try to build the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jun 17, 2024
1 parent 4885817 commit 6e677d9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build the examples

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

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

- name: Install default JDK
run: sudo apt-get update && sudo apt-get install -y default-jdk

- name: Set JAVA_HOME environment variable
run: echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed 's:/bin/java::')" >> $GITHUB_ENV

- name: Verify JAVA_HOME
run: echo $JAVA_HOME

- name: Install dependencies and build examples
run: |
sudo apt-get install -y make
make examples

0 comments on commit 6e677d9

Please sign in to comment.