Add OS matrix for Ubuntu, Windows and macOS

This commit is contained in:
Erik C. Thauvin 2025-03-26 01:01:18 -07:00
parent 686174b9cb
commit 27070dc3d9
Signed by: erik
GPG key ID: 776702A6A2DA330E
5 changed files with 14 additions and 10 deletions

View file

@ -35,12 +35,17 @@ jobs:
- name: Compile and run [bld examples]
working-directory: examples/bld
run: ./bld compile run
run: |
./bld compile run
./bld run-java
- name: Run example [bld examples]
working-directory: examples/gradle
if: matrix.java-version != '24'
run: ./gradlew run
run: |
./gradlew run
./gradlew runJava
- name: Download dependencies
run: ./bld download

View file

@ -1,7 +1,7 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.downloadLocation=
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.4
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.1.0-SNAPSHOT
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.sourceDirectories=
bld.version=2.2.1

View file

@ -15,7 +15,7 @@ repositories {
}
dependencies {
implementation("net.thauvin.erik:cryptoprice:1.0.2")
implementation("net.thauvin.erik:cryptoprice:1.0.3-SNAPSHOT")
implementation("org.json:json:20240303")
}

View file

@ -1,10 +1,10 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.downloadLocation=
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.9
bld.extension-dokka=com.uwyn.rife2:bld-dokka:1.0.3
bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.9
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.4
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.10-SNAPSHOT
bld.extension-dokka=com.uwyn.rife2:bld-dokka:1.0.4-SNAPSHOT
bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.10-SNAPSHOT
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.1.0-SNAPSHOT
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.sourceDirectories=
bld.version=2.2.1

View file

@ -121,10 +121,9 @@ public class CryptoPriceBuild extends Project {
@BuildCommand(summary = "Compiles the Kotlin project")
@Override
public void compile() throws Exception {
final var options = new CompileOptions().jvmOptions("--enable-native-access=ALL-UNNAMED");
new CompileKotlinOperation()
.fromProject(this)
.compileOptions(options)
.compileOptions(new CompileOptions().verbose(true))
.execute();
}