0.1.0-dev1 #106
Workflow file for this run
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
name: "Build and Test" | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- '*.md' | |
- 'docs/**' | |
pull_request: | |
workflow_dispatch: | |
release: | |
types: [ published ] | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
linux-x86_64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- shell: bash | |
name: "Install mpv" | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libmpv-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev libavfilter-dev libswresample-dev libpostproc-dev | |
- uses: silenium-dev/actions/jni-natives/ubuntu@main | |
with: | |
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }} | |
snapshot-repo-url: "https://reposilite.silenium.dev/snapshots" | |
release-repo-url: "https://reposilite.silenium.dev/releases" | |
repo-username: ${{ secrets.REPOSILITE_USERNAME }} | |
repo-password: ${{ secrets.REPOSILITE_PASSWORD }} | |
tests: true | |
java-version: 11 | |
platform: ${{ github.job }} | |
kotlin: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: silenium-dev/actions/kotlin@main | |
with: | |
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }} | |
snapshot-repo-url: "https://reposilite.silenium.dev/snapshots" | |
release-repo-url: "https://reposilite.silenium.dev/releases" | |
repo-username: ${{ secrets.REPOSILITE_USERNAME }} | |
repo-password: ${{ secrets.REPOSILITE_PASSWORD }} | |
tests: false | |
java-version: 11 |