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

Experiment: remove Belt from compiler repo #6467

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,36 +228,36 @@ jobs:
if: runner.os != 'Windows'
run: node scripts/ciTest.js -all

- name: Run gentype tests
if: runner.os != 'Windows'
run: make -C jscomp/gentype_tests/typescript-react-example clean test
# - name: Run gentype tests
# if: runner.os != 'Windows'
# run: make -C jscomp/gentype_tests/typescript-react-example clean test

- name: Run tests (Windows)
if: runner.os == 'Windows'
run: node scripts/ciTest.js -mocha -theme -format

# Build the playground compiler on the fastest runner (ubuntu-latest)
- name: Install JSOO
if: matrix.os == 'ubuntu-latest'
run: opam install js_of_ocaml.5.6.0

- name: Build playground compiler
if: matrix.os == 'ubuntu-latest'
run: |
opam exec -- node packages/playground-bundling/scripts/generate_cmijs.js
opam exec -- dune build --profile browser
cp ./_build/default/jscomp/jsoo/jsoo_playground_main.bc.js playground/compiler.js

- name: Test playground compiler
if: matrix.os == 'ubuntu-latest'
run: node playground/playground_test.js

- name: Upload playground compiler to CDN
if: ${{ matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/v') }}
env:
KEYCDN_USER: ${{ secrets.KEYCDN_USER }}
KEYCDN_PASSWORD: ${{ secrets.KEYCDN_PASSWORD }}
run: bash playground/upload_bundle.sh
# # Build the playground compiler on the fastest runner (ubuntu-latest)
# - name: Install JSOO
# if: matrix.os == 'ubuntu-latest'
# run: opam install js_of_ocaml.5.6.0

# - name: Build playground compiler
# if: matrix.os == 'ubuntu-latest'
# run: |
# opam exec -- node packages/playground-bundling/scripts/generate_cmijs.js
# opam exec -- dune build --profile browser
# cp ./_build/default/jscomp/jsoo/jsoo_playground_main.bc.js playground/compiler.js

# - name: Test playground compiler
# if: matrix.os == 'ubuntu-latest'
# run: node playground/playground_test.js

# - name: Upload playground compiler to CDN
# if: ${{ matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/v') }}
# env:
# KEYCDN_USER: ${{ secrets.KEYCDN_USER }}
# KEYCDN_PASSWORD: ${{ secrets.KEYCDN_PASSWORD }}
# run: bash playground/upload_bundle.sh

- name: Prepare artifact upload
run: node .github/workflows/get_artifact_info.js
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ test-syntax-roundtrip:
make reanalyze
bash ./scripts/testok.sh

test-gentype:
make -C jscomp/gentype_tests/typescript-react-example clean test
# test-gentype:
# make -C jscomp/gentype_tests/typescript-react-example clean test

test-all: test test-gentype
test-all: test # test-gentype

reanalyze:
reanalyze.exe -set-exit-code -all-cmt _build/default/jscomp -suppress jscomp/syntax/testrunner -exclude-paths jscomp/outcome_printer,jscomp/ounit_tests,jscomp/ml,jscomp/js_parser,jscomp/frontend,jscomp/ext,jscomp/depends,jscomp/core,jscomp/common,jscomp/cmij,jscomp/bsb_helper,jscomp/bsb
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading