mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
Trying to fix build on CI
This commit is contained in:
parent
cb3ce477e2
commit
069caf63cf
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v2
|
||||||
- if: ${{ matrix.platform == 'wasi' }}
|
- if: ${{ matrix.platform == 'wasi' }}
|
||||||
uses: bytecodealliance/actions/wasmtime/setup@v1
|
uses: bytecodealliance/actions/wasmtime/setup@v1
|
||||||
|
@ -38,6 +39,7 @@ jobs:
|
||||||
args+=("-Pteavm.tests.${v}=false")
|
args+=("-Pteavm.tests.${v}=false")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
args+=("-Pteavm.localNodeJS=true")
|
||||||
echo "${args[@]}"
|
echo "${args[@]}"
|
||||||
./gradlew "${args[@]}" test
|
./gradlew "${args[@]}" test
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
|
@ -56,4 +58,4 @@ jobs:
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v2
|
||||||
- run: |
|
- run: |
|
||||||
./gradlew build -x test
|
./gradlew check -x test
|
|
@ -25,7 +25,10 @@ plugins {
|
||||||
description = "Compiler, backends and runtime"
|
description = "Compiler, backends and runtime"
|
||||||
|
|
||||||
node {
|
node {
|
||||||
download = true
|
download = providers.gradleProperty("teavm.localNodeJS")
|
||||||
|
.map { it == "true" }
|
||||||
|
.map { !it }
|
||||||
|
.orElse(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user