Skip to content

Commit b075bcf

Browse files
authored
chore: bump mill to 1.1.2 and limit ci time (#595)
1 parent 5fc5730 commit b075bcf

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pr-build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ jobs:
2727
- name: Check Formatting
2828
run: ./mill _.${{ matrix.lang }}[_].__.checkFormat
2929
- name: Compile with mill
30+
timeout-minutes: 15
3031
run: ./mill _.${{ matrix.lang }}[_].__.compile
3132
- name: Run mill tests for ${{ matrix.lang }}
3233
run: ./mill _.${{ matrix.lang }}[_].__.test
3334
- name: Compile with sbt
35+
timeout-minutes: 15
3436
if: ${{ matrix.lang == 'jvm' }}
3537
run: sbt compile bench/compile bench/jmh:compile
3638
- name: Run sbt tests
39+
timeout-minutes: 15
3740
if: ${{ matrix.lang == 'jvm' }}
3841
run: sbt test
3942
- name: Run Native Image Test Suites
43+
timeout-minutes: 30
4044
if: ${{ (matrix.lang == 'jvm') && (matrix.java == '25') }}
4145
run: sjsonnet/test/graalvm/run_test_suites.py

.mill-jvm-opts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
-XX:MetaspaceSize=512M
1111
-XX:-ClassUnloadingWithConcurrentMark
1212
-Djava.security.egd=file:/dev/./urandom
13+
--enable-native-access=ALL-UNNAMED

build.mill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//| mill-version: 1.1.1-jvm
1+
//| mill-version: 1.1.2-jvm
22
//| mvnDeps:
33
//| - com.lihaoyi::mill-contrib-jmh:$MILL_VERSION
44
//| - com.lihaoyi::mill-contrib-versionfile:$MILL_VERSION

0 commit comments

Comments
 (0)