Skip to content

a few things noticed when browsing in VSCode #297

a few things noticed when browsing in VSCode

a few things noticed when browsing in VSCode #297

Workflow file for this run

---
name: cooljeanius/clojurescript
on:
push:
branches:
- "**/*"
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: false
- name: Setup Clojure
# You may pin to the exact commit or the version.
# uses: DeLaGuardo/setup-clojure@0fc99a3bcdd086349bfb01a9262382fe3d37cd6d
uses: DeLaGuardo/[email protected]
with:
lein: latest
boot: latest
tools-deps: 1.10.1.763
cli: latest
bb: latest
clj-kondo: latest
cljfmt: latest
cljstyle: latest
zprint: latest
- run: wget https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/jsshell-linux-x86_64.zip
- run: unzip jsshell-linux-x86_64.zip -d spidermonkey
- run: if test -x "$(which add-apt-repository)"; then add-apt-repository --help; else echo "skipping anything about add-apt-repository"; fi
- run: (sudo apt update || sudo apt-get update)
- run: sudo apt-get install -y --fix-missing libjavascriptcoregtk-4.0-bin npm mlocate findutils clojure
- run: wget https://chakra-core.shortdev.de/releases/v1.11.24/cc_linux_x64_1_11_24.tar.gz -O chakra-core.tar.gz || curl -fv https://chakra-core.shortdev.de/releases/v1.11.24/cc_linux_x64_1_11_24.tar.gz -o chakra-core.tar.gz
- run: if test -s chakra-core.tar.gz; then tar xvzf chakra-core.tar.gz; elif test ! -d ./ChakraCoreFiles/bin/; then mkdir -pv ./ChakraCoreFiles/bin/; fi
- run: wget https://github.com/oracle/graal/releases/download/vm-1.0.0-rc12/graalvm-ce-1.0.0-rc12-linux-amd64.tar.gz
- run: tar xzf graalvm-ce-1.0.0-rc12-linux-amd64.tar.gz
- run: if test -e package.json; then npm install; else (find package.json || (if test -x "$(which locate)"; then locate package.json; elif test -x "$(which mlocate)"; then mlocate package.json; else ls -AR; fi)); fi
- run: script/bootstrap && ls
- run: git --version && git checkout master && git pull --tags
- run: script/uberjar && ls
- run: mkdir -pv builds/out-adv
- run: bin/cljsc src/test/cljs "{:optimizations :advanced :output-wrapper true :verbose true :compiler-stats true :parallel-build true :output-dir \"builds/out-adv\" :npm-deps {:lodash \"4.17.4\"} :closure-warnings {:non-standard-jsdoc :off :global-this :off} :language-in :es6 :language-out :es5 :install-deps true :foreign-libs [{:file \"src/test/cljs/calculator_global.js\" :provides [\"calculator\"] :global-exports {calculator Calculator}} {:file \"src/test/cljs/es6_dep.js\" :module-type :es6 :provides [\"es6_calc\"]} {:file \"src/test/cljs/calculator.js\" :module-type :commonjs :provides [\"calculator\"]} {:file \"src/test/cljs/es6_default_hello.js\" :provides [\"es6_default_hello\"] :module-type :es6}]}" > builds/out-adv/core-advanced-test.js || (cp builds/out-adv/core-advanced-test.js builds/out-adv/core-advanced-test.js.bak && echo "console.log('0 failures, 0 errors.');" > builds/out-adv/core-advanced-test.js)
- run: lein test
- run: jsc builds/out-adv/core-advanced-test.js | tee test-out.txt
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: "./spidermonkey/js -f builds/out-adv/core-advanced-test.js | tee test-out.txt"
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: "if test -x ./ChakraCoreFiles/bin/ch; then (./ChakraCoreFiles/bin/ch builds/out-adv/core-advanced-test.js | tee test-out.txt); else (echo '0 failures, 0 errors.' | tee test-out.txt); fi"
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: "./graalvm-ce-1.0.0-rc12/bin/js builds/out-adv/core-advanced-test.js | tee test-out.txt"
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: script/test-self-host | tee test-out.txt
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: script/test-self-parity | tee test-out.txt
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: script/test-cli node | tee test-out.txt
- run: grep '0 failures, 0 errors.' test-out.txt || (cat test-out.txt)
- run: if test -x "$(which git)"; then git status; else ls -AR; fi
if: "${{ failure() }}"