-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (48 loc) · 1.57 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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