diff --git a/.github/workflows/macos-test.yml b/.github/workflows/macos-test.yml index 02c4ecde1..b66326574 100644 --- a/.github/workflows/macos-test.yml +++ b/.github/workflows/macos-test.yml @@ -43,7 +43,7 @@ jobs: - name: Set up the environment run: sh ./tools/metacall-environment-macos.sh $METACALL_INSTALL_OPTIONS env: - METACALL_INSTALL_OPTIONS: python nodejs # ruby netcore5 typescript file rpc wasm java c cobol rust rapidjson funchook swig pack # clangformat v8rep51 coverage + METACALL_INSTALL_OPTIONS: python nodejs java # ruby netcore5 typescript file rpc wasm c cobol rust rapidjson funchook swig pack # clangformat v8rep51 coverage - name: Configure run: | @@ -51,7 +51,7 @@ jobs: cd build bash ../tools/metacall-configure.sh $METACALL_CONFIGURE_OPTIONS env: - METACALL_CONFIGURE_OPTIONS: ${{ matrix.buildtype }} scripts ports tests sanitizer python # nodejs python java sanitizer ruby netcore5 typescript file rpc wasm java c cobol rust examples dynamic install pack benchmarks # v8 coverage + METACALL_CONFIGURE_OPTIONS: ${{ matrix.buildtype }} scripts ports tests sanitizer python java # nodejs python java sanitizer ruby netcore5 typescript file rpc wasm java c cobol rust examples dynamic install pack benchmarks # v8 coverage - name: Build working-directory: ./build diff --git a/tools/metacall-environment-macos.sh b/tools/metacall-environment-macos.sh index 1d400057a..e3051dff1 100755 --- a/tools/metacall-environment-macos.sh +++ b/tools/metacall-environment-macos.sh @@ -70,6 +70,11 @@ sub_nodejs(){ brew install node make npm curl python3 } +# Java +sub_java(){ + echo "configuring java" + brew install openjdk@19 +} sub_install() { @@ -79,6 +84,9 @@ sub_install() if [ $INSTALL_NODEJS = 1 ]; then sub_nodejs fi + if [ $INSTALL_JAVA = 1 ]; then + sub_java + fi } sub_options(){