Skip to content

Commit

Permalink
add github action pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
youssefshibl authored Nov 6, 2024
1 parent 9f3918c commit 56fa240
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github /workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build Encrypto Deb Package

on:
push:
branches: [deb]

jobs:
build:
name: Build Encrypto to Binary
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set Maven
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build encrypto with Maven
run: mvn clean package -Pnative

0 comments on commit 56fa240

Please sign in to comment.