Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build MetaCall with TypeScript Support #436

Merged
merged 12 commits into from
Jun 5, 2023
4 changes: 2 additions & 2 deletions .github/workflows/macos-test.yml
Original file line number Diff line number Diff line change
@@ -49,14 +49,14 @@ jobs:
- name: Set up the environment
run: sh ./tools/metacall-environment.sh $METACALL_INSTALL_OPTIONS
env:
METACALL_INSTALL_OPTIONS: base python nodejs java ruby wasm #netcore5 typescript file rpc wasm c cobol rust rapidjson funchook swig pack # clangformat v8rep51 coverage
METACALL_INSTALL_OPTIONS: base python nodejs java ruby wasm typescript #netcore5 file rpc wasm c cobol rust rapidjson funchook swig pack # clangformat v8rep51 coverage

- name: Configure
run: |
cd build
bash ../tools/metacall-configure.sh $METACALL_CONFIGURE_OPTIONS
env:
METACALL_CONFIGURE_OPTIONS: ${{ matrix.buildtype }} scripts ports tests sanitizer python java ruby wasm nodejs # nodejs python java sanitizer 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 ruby wasm nodejs typescript # netcore5 file rpc c cobol rust examples dynamic install pack benchmarks # v8 coverage

- name: Build
working-directory: ./build
4 changes: 4 additions & 0 deletions tools/metacall-environment.sh
Original file line number Diff line number Diff line change
@@ -514,6 +514,10 @@ sub_typescript(){
# Install React dependencies in order to run the tests
$SUDO_CMD npm i react@latest -g
$SUDO_CMD npm i react-dom@latest -g
elif [ "${OPERATIVE_SYSTEM}" = "Darwin" ]; then
# Install React dependencies in order to run the tests
npm i react@latest -g
npm i react-dom@latest -g
fi
}