forked from oxisto/kotlintree
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable building with Gradle via GitHub Actions (#10)
Running unit tests on `win32-x86` is currently disabled (`libstdc++` is not in `PATH`).
- Loading branch information
1 parent
ac91003
commit ae7bef3
Showing
11 changed files
with
423 additions
and
92 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,17 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" | ||
# Files stored in repository root | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "github-actions" | ||
# Workflow files stored in the | ||
# default location of `.github/workflows` | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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
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,52 @@ | ||
name: 'Dependencies' | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
env: | ||
GRADLE_OPTS: -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.welcome=never | ||
|
||
jobs: | ||
dependencies: | ||
name: 'Dependencies' | ||
runs-on: ubuntu-latest | ||
|
||
# The Dependency Submission API requires write permission. | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# Fetch Git tags, so that semantic version can be calculated. | ||
# Alternatively, run `git fetch --prune --unshallow --tags` as the | ||
# next step, see | ||
# https://github.com/actions/checkout/issues/206#issuecomment-607496604. | ||
fetch-depth: 0 | ||
|
||
- name: 'Set up Java 11' | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 11 | ||
java-package: 'jdk+fx' | ||
|
||
- name: 'Set up Gradle' | ||
id: build | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: wrapper | ||
|
||
# `gradlew :jna-lib:dependencies --configuration compileClasspath` | ||
- name: 'Run snapshot action' | ||
uses: mikepenz/[email protected] | ||
with: | ||
use-gradlew: true | ||
gradle-build-module: |- | ||
:jna-lib | ||
# `compileClasspath` configuration has no dependencies in multiplatform | ||
# projects. | ||
gradle-build-configuration: |- | ||
compileClasspath |
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
Oops, something went wrong.