-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Linux | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
env: | ||
EXECUTABLE: j3 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Gluon's GraalVM | ||
uses: gluonhq/setup-graalvm@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install libraries | ||
run: | | ||
sudo apt update | ||
sudo apt install libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libgl-dev libgtk-3-dev libpango1.0-dev libxtst-dev | ||
- name: Make staging directory | ||
run: mkdir staging | ||
|
||
#- name: Gluon License | ||
# uses: gluonhq/gluon-build-license@v1 | ||
# with: | ||
# gluon-license: ${{ secrets.GLUON_LICENSE }} | ||
|
||
- name: Gluon Build | ||
run: mvn gluonfx:build gluonfx:package | ||
|
||
- name: Copy native image to staging | ||
run: cp -r target/gluonfx/x86_64-linux/${EXECUTABLE}* staging | ||
|
||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Package | ||
path: staging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters