Skip to content

Commit 19ee381

Browse files
committed
ci: add ci
1 parent ea78dbc commit 19ee381

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "gradle" # See documentation for possible values
9+
directories:
10+
- "/"
11+
schedule:
12+
interval: "weekly"

.github/workflows/build.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "Build and Test"
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
tags-ignore:
7+
- '*'
8+
paths-ignore:
9+
- '*.md'
10+
- 'docs/**'
11+
pull_request:
12+
workflow_dispatch:
13+
release:
14+
types: [ published ]
15+
permissions:
16+
pull-requests: write
17+
contents: write
18+
jobs:
19+
linux-x86_64:
20+
runs-on: ubuntu-22.04
21+
steps:
22+
- uses: silenium-dev/actions/jni-natives/ubuntu@main
23+
with:
24+
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
25+
snapshot-repo-url: "https://reposilite.silenium.dev/snapshots"
26+
release-repo-url: "https://reposilite.silenium.dev/releases"
27+
repo-username: ${{ secrets.REPOSILITE_USERNAME }}
28+
repo-password: ${{ secrets.REPOSILITE_PASSWORD }}
29+
tests: false
30+
java-version: 11
31+
platform: ${{ github.job }}
32+
kotlin:
33+
runs-on: ubuntu-22.04
34+
steps:
35+
- uses: silenium-dev/actions/kotlin@main
36+
with:
37+
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
38+
snapshot-repo-url: "https://reposilite.silenium.dev/snapshots"
39+
release-repo-url: "https://reposilite.silenium.dev/releases"
40+
repo-username: ${{ secrets.REPOSILITE_USERNAME }}
41+
repo-password: ${{ secrets.REPOSILITE_PASSWORD }}
42+
tests: false
43+
java-version: 11

0 commit comments

Comments
 (0)