Skip to content

Commit

Permalink
disable playground compiler for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Sep 30, 2024
1 parent 7fd0ab9 commit b95f232
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,23 +337,23 @@ jobs:
if: runner.os == 'Windows'
run: node scripts/ciTest.js -mocha -theme -format

- name: Build playground compiler
if: matrix.build_playground
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.build_playground
run: node playground/playground_test.js

- name: Upload playground compiler to CDN
if: ${{ matrix.build_playground && startsWith(github.ref, 'refs/tags/v') }}
env:
KEYCDN_USER: ${{ secrets.KEYCDN_USER }}
KEYCDN_PASSWORD: ${{ secrets.KEYCDN_PASSWORD }}
run: bash playground/upload_bundle.sh
# - name: Build playground compiler
# if: matrix.build_playground
# 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.build_playground
# run: node playground/playground_test.js

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

- name: "Upload artifacts: binaries"
if: matrix.upload_binaries
Expand Down

0 comments on commit b95f232

Please sign in to comment.