Compare commits

..

No commits in common. "8251473b055ef8e337b8710c1943c35264603f2e" and "a2a5f284b646aecf2ac93cacae4b72cbc757e5f7" have entirely different histories.

2 changed files with 26 additions and 6 deletions

View file

@ -6,10 +6,8 @@ env:
KOTLIN_HOME: /usr/share/kotlinc
jobs:
build-bld-project:
runs-on:
- ubuntu-latest
- windows-latest
build-bld-linux:
runs-on: ubuntu-latest
strategy:
matrix:
@ -41,3 +39,26 @@ jobs:
- name: Run tests
run: ./bld compile test
build-bld-windows:
runs-on: windows-latest
steps:
- name: Checkout source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 17
- name: Download dependencies [examples]
working-directory: examples
run: ./bld download
- name: Run tests [examples]
working-directory: examples
run: ./bld compile test

View file

@ -61,11 +61,10 @@ public class ExampleBuild extends Project {
@Override
public void compile() throws Exception {
// The source code located in src/main/kotlin and src/test/kotlin will be compiled
var options = new CompileOptions().verbose(true);
var op = new CompileKotlinOperation()
// .kotlinHome("path/to/kotlin")
// .kotlinc("path/to/kotlinc")
.compileOptions(options)
.compileOptions(new CompileOptions().verbose(true))
.fromProject(this);
if (!CompileKotlinOperation.isWindows()) {