Update deps #10
This file contains hidden or 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
| name: Build for Ubuntu | |
| on: | |
| push: | |
| branches: [master, develop] | |
| pull_request: | |
| branches: [master, develop] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: sdkman/sdkman-action@master | |
| id: sdkman | |
| with: | |
| candidate: java | |
| version: 24.0.1-graal | |
| - uses: actions/setup-java@v1 | |
| id: setup-java | |
| with: | |
| java-version: 17 | |
| jdkFile: ${{ steps.sdkman.outputs.file }} | |
| - name: Setup GRAALVM_HOME | |
| run: export GRAALVM_HOME="$JAVA_HOME" | |
| - name: APT update | |
| run: sudo apt update | |
| - name: Install libraries | |
| run: 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: Build JAR with Maven | |
| run: mvn -B install |