forked from emscripten-core/emsdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Master #1
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
Merged
Merged
Master #1
Changes from all commits
Commits
Show all changes
307 commits
Select commit
Hold shift + click to select a range
880be59
Add circleci config with mac, windows and linux testing (#338)
sbc100 40495c0
Fix a bunch of flake8 warnings (#239)
sbc100 3418c69
Be more precise about which tests are disabled on macOS due to timest…
sbc100 62c8a09
Add status badge (#343)
sbc100 8a2e65a
1.38.43 (#346)
kripken 8f6fc50
Re-enable tests on mac after emscripten roll (#347)
sbc100 2dd05dc
reland: Update default node version to 10.16.3 (#341)
sbc100 efc6487
Update node version to 12.9.1 (#348)
sbc100 845f7e8
1.38.44 (#351)
kripken 26b160a
Add 1.38.45 (#352)
sbc100 252410a
Handle missing downloads gracefully (#353)
sbc100 a6c8e25
Remove some mozilla-games remnants (#360)
kripken 41adfea
1.38.46 (#361)
kripken 9ed2070
1.38.47 (#364)
kripken 29ad7fa
Add a warning on old Python SSL/TLS certificates (#354)
Hillsie 6ab7f58
Cleanup emsdk.py (#362)
sbc100 cf01b11
Fix for default NODE_JS in config file (#369)
sbc100 27d6233
Add support for constructing a t?csh environment (#370)
nickie 7f9af7b
1.38.48 (#371)
kripken c564225
Added dockerfiles form trzeci/emscripten-docker (#368)
trzecieu e375d24
Strip the tot value. (#375)
kripken 81de8c5
1.39.0 (#377)
kripken 6ac51b4
Show a clear error when a tool is only 64-bit but the platform is 32.…
kripken e047fe4
Add python and java to 'releases-upstream' for windows (#376)
sbc100 ae5044e
Switch default backend from 'fastcomp' to 'upstream' (#373)
sbc100 76de4a0
1.39.1 (#382)
kripken 1b1f08f
Use quotes, so we handle python paths with spaces. Fixes #381 (#383)
kripken 04d13b9
1.39.2 (#386)
kripken a5082b2
1.39.3 (#388)
kripken 5b75fb3
Remove unused EMSDK_DEV option. (#393)
juj 12f1824
Remove Tools and SDKs that do no longer work after migration from Moz…
juj c10e3e8
1.39.4 (#397)
kripken 2c1cb5a
Update the latest release tag to 1.39.4 (#398)
haberbyte cf90c72
Do not attempt to reinstall python if it already exists (#394)
juj 1e42b44
Update README (#390)
sbc100 3c548d3
Clobber target directory before extracting SDK tools (#410)
sbc100 9c60ff9
Add python generated files to .gitignore (#409)
sbc100 322c7aa
Don't force re-download of all archives during install (#411)
sbc100 e10be71
Rename old fastcomp-based tools to a specific fastcomp- prefixed name…
juj 2546d5a
Build wasm master (#401)
juj a0d34f6
Add upstream-incoming SDK targets for macOS and Linux as well (#413)
juj f72c6e9
Add support for building with Visual Studio 2019 (#415)
juj b7cde08
Remove old workaround that was there to restore %SystemRoot% in PATH …
juj 3690139
1.39.5 (#417)
kripken 98ad15a
Fix issue with Windows paths under MinGW versions of Python (#419)
logiconcepts819 d30ba16
Add npm install step as post-build to Emscripten (#404)
juj 3631f0a
Remove use of incoming branches (#423)
sbc100 6bfbe2a
1.39.6 (#424)
kripken 997b0a1
Pass `--no-audit` to `npm install` (#426)
sbc100 3532fd3
Extract `install_sdk` and `install_tool` from `install`. NFC (#432)
sbc100 ba53d20
Use `npm ci` over npm install (#433)
sbc100 deaa7e4
Hide npm output by default (#431)
sbc100 ff44c97
Re-add binaryen dep to upstream-master SDK builds (#435)
bvibber 801bef7
1.39.7 (#436)
kripken 573278b
Switch to python3 when installing python on windows installs. (#349)
sbc100 50df5a2
Fix ZIP extraction on Windows. (#438)
diegocr 5892e95
Fix Windows lookup for Python 3 (#439)
juj 1458145
1.39.8 (#440)
kripken 3264996
Fix some grammar errors in README (#449)
8a35734
Fix precompiled library support + testing (#444)
kripken 86a4766
1.39.9 (#450)
kripken 1bd7d54
1.39.10 (#452)
kripken 7e689a5
1.39.11 (#455)
kripken 044f25f
Use an actual hello world program to test in test.py (#456)
sbc100 a490cd1
Add `llvm` to git ignore (#457)
sbc100 009ab2c
Avoid re-downloading files that are already downloaded (#460)
dnfield 4dce416
Docker fixes and updates (#461)
ngaro a952a6f
Fix expected test output (#464)
kripken c523a65
1.39.12 (#465)
kripken b1f867a
Re-enable building master from source for linux 32-bit (#471)
sbc100 1e62b13
Remove reference of old clang binary. (#469)
sbc100 6dd96f1
1.39.13 (#474)
kripken 7016bd6
Drop Visual Studio 2015 build support and older (#482)
juj eeecdd0
1.39.14 (#484)
kripken 64d54b8
Add pywin32 to windows python installation (#487)
sbc100 e381caa
Move test scripts into scripts directory (#485)
sbc100 62914e7
Add script for updating node and python binaries in google storage (#…
sbc100 fd269ba
Add more generated files to .gitconfig (#490)
sbc100 15ac4ff
1.39.15 (#491)
kripken 99320fc
Support python3 in test.py (#494)
sbc100 a8263f3
Allow EMCC_BASH to force bash during construct_env (#493)
sbc100 5e996c6
test.py should require that the SDK be activated (#492)
sbc100 683cead
Add CACHE setting to config file (for embedded users) (#495)
sbc100 88ae400
Make installation errors fatal (#437)
sbc100 f5e21de
Fix for parsing existing config in --embedded mode after #495 (#498)
sbc100 d75a9a8
Add some docs for building from source and binary. fixes #10063 (#420)
kripken 4265173
Remove legacy builds (#500)
kripken 7e22ab8
Refactor such that Tool.activated_config returns a map. NFC (#502)
sbc100 14c0a9e
Update default emscripten cache directory (#501)
sbc100 85cf370
1.39.16 (#503)
sbc100 5613488
Properly report what is installed in "emsdk list" (#505)
kripken 855c51d
Improve behaviour regarding "help" (#509)
orestisfl 858b176
Use embedded configuration by default (#472)
sbc100 6b0d151
Properly sort versions in "emsdk list" (#508)
orestisfl ede26f1
Add host network for building image (#514)
trzecieu d371fb6
1.39.17 (#518)
kripken 24d8848
Set up build-docker-image job build docker image for tags on Circle C…
Squareys 01589e7
Updated tagging schema for docker images (#519)
trzecieu 27b23d4
1.39.18 (#521)
kripken 7241082
Build docker image as part of CI (#527)
sbc100 d50b1d8
Simplify docker image in several ways (#523)
sbc100 8dd51b4
Remove unused permanent in construct_env (#525)
sbc100 38a270f
Minor python cleanups. NFC. (#496)
sbc100 25416b8
Testing circleci auto-publish of docker image (#531)
sbc100 8e5b6d8
More circleci testing (sorry)
sbc100 618fcf3
More circleci testing
sbc100 dc74092
Revert testing changes
sbc100 c080151
Update nodejs to v12.18.1 (#529)
dschuff 47c669a
Update node directory in Dockerfile (#532)
sbc100 eff1d2e
Drop "-upstream" suffix from docker image name (#530)
sbc100 7f77b61
Add standard workdir for Dockerimage (#534)
trzecieu 92d512f
docs: change message when running emsdk_env.sh (#537)
819e95c
Cleanup emsdk_env scripts (#539)
sbc100 4f2daec
Fix running emsdk_env.sh outside of emsdk directory (#541)
sbc100 833dfdd
1.39.19 (#542)
kripken d37abed
Avoid writing to file in emsdk_env.csh / emsdk_env.sh (#544)
sbc100 c494899
Change EMSDK_SET_ENV to output correct filename for powershell. (#546)
Walt280 9f63f10
Fix fatal exception in "emsdk list" on unsupported platforms (#549)
bvibber 96ba7f6
Remove bash-ism from emsdk_env.sh (#552)
sbc100 d4383f4
Fix docker build to not depend on emsdk_set_env.sh (#554)
sbc100 e5f63be
Update location emsdk_set_env.bat in emsdk.bat (#553)
sbc100 dec8a63
Remove emsdk_set_ene.bat from .gitignore (#550)
sbc100 3e9f04d
Remove support for non-embedded mode (#510)
sbc100 9d1b5b6
Cleanup and unify code for removing files. (#557)
sbc100 b504f0b
Cleanup legacy 'copy_pregenerated_cache' handling. NFC. (#558)
sbc100 3249417
1.39.20 (#556)
kripken d8984b2
Rename build_llvm_monorepo to just build_llvm. NFC. (#560)
sbc100 4aa0280
Use bundled/embedded python3 binary on OSX (#561)
sbc100 0e5f2d8
Rename osx -> macos (#563)
sbc100 4d4ae34
Improve activation message (#562)
sbc100 9b405d3
Add new python version of known versions in emsdk.bat (#565)
sbc100 56f5a2b
Cleanup emsdk.bat launcher (#566)
sbc100 b5077e4
Fix sanity file location within Dockerfile (#568)
kleisauke de08462
Cleanup Dockerfile. NFC. (#569)
kleisauke 6dac5ae
Fail `update-tags` if not tot revision is found (#574)
sbc100 e3b0841
[powershell] fix emsdk.ps1 assuming emsdk_set_env.ps1 lives in the cu…
aardappel 1dc9fde
1.40.0 (#577)
kripken 147abfe
Make emscripten directory world writable (#578)
sbc100 e88a3c5
1.40.1 (#579)
kripken 60e3a51
Split out `expand_sdk_name` function. NFC. (#580)
sbc100 16d4ec5
Disallow fastcomp in tot and 2.0.0+ (#584)
kripken 1e5c650
Log warnings to stderr (#585)
sbc100 839c108
2.0.0! (#586)
sbc100 ff8a62a
Pre-bundle requests module with macOS bundles python (#589)
sbc100 6adb624
Error on trying to get latest-fastcomp (#590)
kripken 721ef8f
2.0.1 (#596)
kripken c1f0ad9
Fix emsdk_env.sh for multiple shells (#594)
rwtolbert 9c27544
Add stalebot (#601)
sbc100 f6c9e45
Fix `emsdk activate` breaking configuration file (#602)
reosablo 645d276
Docker improvements (#571)
kleisauke 2e73421
2.0.2 (#604)
kripken 0eb40e1
Make emsdk_env.sh work under set -o nounset (#605)
nhooyr 81dd223
Parse the releases info only once in emsdk.py. (#607)
j-jorge bfdfd61
Fix sanity file generation in Dockerfile (#610)
sbc100 e08b17c
Remove copy_pregenerated_cache (#609)
sbc100 def6e49
2.0.3 (#612)
kripken 5f630de
add a wasm bazel toolchain (#603)
walkingeyerobot a94f2fe
update bazel workspace for emscripten 2.0.3 (#613)
walkingeyerobot edc53e7
Add missing python locations to emsdk.ps1 (#615)
aminya 88b4ec6
2.0.4 (#619)
kripken 843c195
Remove unused parameter (#611)
sbc100 f8e0b49
Clear PYTHONHOME when using bundled python (#600)
sbc100 42abe55
Remove native optimizer build from emscripten master install (#622)
sbc100 7e841b5
2.0.5 (#625)
kripken 807e55c
Set user environment variables permanently by using `--permanent` + d…
aminya 8ca8591
Fix ``The system cannot find the drive specified.`` due to ``::`` sty…
kudaba e899a6f
Fix issue where MSYS2 and MinGW mistaken for Linux (#628)
aec1e16
2.0.6 (#629)
kripken 47b7f85
Skip installing optional npm deps, but manually install Closure Compi…
curiousdannii 31f5f84
Revert "Skip installing optional npm deps, but manually install Closu…
kripken 53c184e
Avoid pywin32 dependency on Windows (#635)
aminya 107dc62
Skip installing optional npm deps, but manually install Closure Compi…
curiousdannii 4fe6e49
Fix environment variables to be consistently set when using --system …
kudaba da9419f
2.0.7 (#641)
kripken 10290f2
Update mac circleci environment (#644)
sbc100 f3e2e43
2.0.8 (#643)
kripken 4a695be
circleci: Add explict version to `setup_remote_docker`. NFC. (#646)
sbc100 4078013
fix: emsdk swallows/overwrites parts of PATH (#642)
aminya 8f2f5e3
Fix regression where reinstalling tools from git sources would not gi…
juj 372fb50
2.0.9 (#653)
kripken aa5fedf
Increate download chunk size of 256k (#657)
sbc100 62fb171
Remove used arg in scripts/test.bat (#659)
sbc100 ec9c1c4
2.0.10 (#664)
sbc100 8234fb3
Add git-lfs package to emsdk Docker image (#665)
haraldreingruber 5fd57ff
2.0.11 (#670)
dschuff 4def4da
fix sln parsing form vs2019 (#679)
fzhangtj 5ad9d72
2.0.12 (#680)
sbc100 6357c6d
Set binaryen's git branch to `main` in manifest. (#684)
Matthew-McRaven 5fd6f03
fix: bazel/emscripten_toolchain/wasm_binary.py command output withou…
levenon 02edc97
Set LLVM's git branch to `main` in manifest. (#693)
Matthew-McRaven 2c086de
Remove redundant testing/downloading (#695)
sbc100 cfdcf13
Release 2.0.13 and update bazel toolchain (#694)
sbc100 45cd9df
Fix: wrong clang path in Bazel toolchain (#699) (#700)
Volcomix ba7fad3
make hello world simd a bit cleaner (#701)
walkingeyerobot 8b32b7d
Cleanup handling of old prebuild SDK tags (#697)
sbc100 9e96410
Update node version to 14.15.5 (latest TLS release) (#708)
sbc100 2b720e5
2.0.14 (#710)
sbc100 57ebbbd
Avoid adding our java or python to the PATH (#706)
sbc100 ef638b3
Rename llvm-git-master -> llvm-git-main (#718)
sbc100 63b6cd2
Allow system npm in "emsdk install emscripten" (#723)
truboxl 102e022
Move error reporting when git is not found during update-tags (#728)
sbc100 f9af08a
Remove unused run_emcc function. NFC. (#713)
sbc100 a79eadf
Fix crash attempting to install fastcmp SDK by hash (#730)
sbc100 fcf1bbe
Limit expansion of %releases-tag% for fastcomp (#731)
sbc100 c1883c7
Cleanup sys.argv handling. NFC. (#734)
sbc100 f788ca9
Remove unneeded try/catch (#733)
sbc100 0a84156
Avoid post-install when nothing is installed (#736)
sbc100 e08c153
Refactor test.py to use python unittest. NFC. (#735)
sbc100 53eacf4
Allow the install of any emscripten-releases build (#732)
sbc100 9d00a82
Remove `update-tags` phase (#738)
sbc100 8915c20
Always print debug info to stderr (#739)
sbc100 9d639b3
Fix for `construct_env` and `list` with tot build installed (#741)
sbc100 6e2873c
Feedback from #741. NFC. (#742)
sbc100 7cba2e0
2.0.15 (#743)
sbc100 f0ee795
Remove special version check for vs-tool. NFC. (#740)
sbc100 7d155f8
Move tests to "test" directory. NFC. (#745)
sbc100 226b548
Rename binaryen-master to binaryen-main (#746)
sbc100 73183b5
Fix race between `install tot` and `active tot` (#749)
sbc100 67dc4b4
Switch emscripten branch from master to main (#750)
sbc100 1fe8067
Missing update from #746 (#751)
sbc100 d342821
Skip npm step if node_modules already exists (#640)
sbc100 329423f
Remove "fastcomp-master" SDKs from emsdk_manifest.json (#752)
sbc100 cf2e337
Base on Ubuntu Focal. (#747)
MarkCallow 9a70fe3
Rename sdk-upstream-master SDK to sdk-upstream-main (#754)
sbc100 772d397
Fix search of VCTargetsPath for VS2019 build. (#698)
juj 96d7ee1
Fix support for Apple M1 (#753)
juj 1a38787
Remove absl from wasm_binary (#756)
celentes 1ee4a9c
Fix GitHub repo url in emsdk_manifest.json (#757)
akoeplinger 9c65611
Ccache (#711)
juj 0fe3d48
Update to python 3.9.2 on Windows as well. Mark old Python and Node p…
juj ac98ca3
Rename EMCC_CCACHE to _EMCC_CCACHE. (#762)
juj 848260e
Bazel add html support (#765)
walkingeyerobot b85548d
List "Release" as the default build option (#770)
truboxl fdda852
Simplify the notation for installing by hash to just emsdk install HA…
kripken c1589b5
Use emsdk as external bazel dependency (#766)
celentes 459f7c1
Update bazel readme (#774)
celentes 6162e2e
2.0.16 (#773)
sbc100 2e7eaf7
Correct README.md about building arguments of docker image. Fixes #74…
trzecieu f03f1dc
2.0.17 (#786)
sbc100 bda6a0c
Remove the use of a custom temp directory. That is a bad practice, we…
juj e32410e
Add create_release.py script (#798)
sbc100 cee96f8
2.0.18 (#799)
dschuff 4282d5d
Avoid setting `EM_CACHE` unless we really need to (#797)
sbc100 16ee884
Fix issues with npm install of google-closure-compiler installing all…
juj 3510ab2
Add option --override-repository (#792)
juj b4c9194
Unset emsdk-related environment variable from inactive tools (#801)
sbc100 894c25b
Switch to `HEAD.zip` when downloading archive from github. (#806)
sbc100 05328c4
Add warning to those using `master` branch (#810)
sbc100 619a289
Remove explicit closure install step, the first install command does …
juj 7e3c046
Error on the master branch, and direct people to main. See #805 (#823)
kripken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,231 @@ | ||
| version: 2.1 | ||
|
|
||
| orbs: | ||
| win: circleci/windows@1.0.0 | ||
|
|
||
| executors: | ||
| bionic: | ||
| docker: | ||
| - image: buildpack-deps:bionic | ||
|
|
||
| jobs: | ||
| flake8: | ||
| executor: bionic | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: install pip | ||
| command: | | ||
| apt-get update -q | ||
| apt-get install -q -y python-pip python3-pip | ||
| - run: python2 -m pip install --upgrade pip | ||
| - run: python3 -m pip install --upgrade pip | ||
| - run: python2 -m pip install flake8==3.7.8 | ||
| - run: python3 -m pip install flake8==3.7.8 | ||
| - run: python2 -m flake8 --show-source --statistics | ||
| - run: python3 -m flake8 --show-source --statistics | ||
| test-linux: | ||
| executor: bionic | ||
| environment: | ||
| EMSDK_NOTTY: "1" | ||
| # I don't know why circleci VMs pretent to have 36 cores but its a lie. | ||
| EMSDK_NUM_CORES: "4" | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: Install debian packages | ||
| command: apt-get update -q && apt-get install -q -y cmake build-essential openjdk-8-jre-headless ksh zsh | ||
| - run: test/test.sh | ||
| - run: test/test_source_env.sh | ||
| - run: | ||
| name: test.py | ||
| command: | | ||
| source emsdk_env.sh | ||
| test/test.py | ||
| test-mac: | ||
| macos: | ||
| xcode: "12.2.0" | ||
| environment: | ||
| EMSDK_NOTTY: "1" | ||
| # Without this, any `brew installl` command will result in self-update of | ||
| # brew itself which takes more than 4 minutes. | ||
| HOMEBREW_NO_AUTO_UPDATE: "1" | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: Install cmake | ||
| command: brew install cmake | ||
| - run: test/test.sh | ||
| - run: | ||
| name: test.py | ||
| command: | | ||
| source emsdk_env.sh | ||
| test/test.py | ||
| test-windows: | ||
| executor: | ||
| name: win/vs2019 | ||
| shell: bash.exe | ||
| environment: | ||
| # We need python installed before we can test anytyhing. | ||
| # There seems to be undocument copy of python installed here. Hopefully | ||
| # if this disappears there will be another way of getting a re-installed | ||
| # version. | ||
| PYTHON_BIN: "C:\\Python27amd64" | ||
| PYTHONUNBUFFERED: "1" | ||
| EMSDK_NOTTY: "1" | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: Add python to bash path | ||
| command: echo "export PATH=\"$PATH:/c/python27amd64/\"" >> $BASH_ENV | ||
| - run: | ||
| name: Install latest | ||
| shell: cmd.exe | ||
| command: test\test.bat | ||
| - run: | ||
| name: test.py | ||
| command: | | ||
| source emsdk_env.sh | ||
| python test/test.py | ||
|
|
||
| - run: | ||
| name: flagless (process/shell) test | ||
| shell: powershell.exe | ||
| command: | | ||
| test/test_activation.ps1 | ||
|
|
||
| - run: | ||
| name: --permanent test | ||
| shell: powershell.exe | ||
| command: | | ||
| $env:PERMANENT_FLAG="--permanent" | ||
| test/test_activation.ps1 | ||
|
|
||
| - run: | ||
| name: --system test | ||
| shell: powershell.exe | ||
| command: | | ||
| $env:SYSTEM_FLAG="--system" | ||
| test/test_activation.ps1 | ||
|
|
||
| - run: | ||
| name: Process/Shell PATH preservation test | ||
| shell: powershell.exe | ||
| command: | | ||
| test/test_path_preservation.ps1 | ||
|
|
||
| - run: | ||
| name: User PATH preservation test | ||
| shell: powershell.exe | ||
| command: | | ||
| $env:PERMANENT_FLAG="--permanent" | ||
| test/test_path_preservation.ps1 | ||
|
|
||
| - run: | ||
| name: System PATH preservation test | ||
| shell: powershell.exe | ||
| command: | | ||
| $env:SYSTEM_FLAG="--system" | ||
| test/test_path_preservation.ps1 | ||
|
|
||
| build-docker-image: | ||
| executor: bionic | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: install docker | ||
| command: apt-get update -q && apt-get install -q -y docker.io | ||
| - setup_remote_docker: | ||
| version: 19.03.13 | ||
| # Build and test the tip-of-tree build of EMSDK | ||
| - run: | ||
| name: build | ||
| command: make -C ./docker version=tot build | ||
| - run: | ||
| name: test | ||
| command: make -C ./docker version=tot test | ||
|
|
||
| publish-docker-image: | ||
| executor: bionic | ||
| steps: | ||
| - checkout | ||
| - run: | ||
| name: install docker | ||
| command: apt-get update -q && apt-get install -q -y docker.io | ||
| - setup_remote_docker: | ||
| version: 19.03.13 | ||
| - run: | ||
| name: build | ||
| command: make -C ./docker version=${CIRCLE_TAG} build | ||
| - run: | ||
| name: test | ||
| command: make -C ./docker version=${CIRCLE_TAG} test | ||
| - run: | ||
| name: push image | ||
| command: | | ||
| docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" | ||
| make -C ./docker version=${CIRCLE_TAG} alias=latest push | ||
|
|
||
| test-bazel-linux: | ||
| executor: bionic | ||
| steps: | ||
| - checkout | ||
| - run: apt-get install -q -y curl gnupg | ||
| - run: curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg | ||
| - run: mv bazel.gpg /etc/apt/trusted.gpg.d/ | ||
| - run: echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list | ||
| - run: | ||
| name: install pip | ||
| command: | | ||
| apt-get update -q | ||
| apt-get install -q -y python3-pip | ||
| - run: pip3 install absl-py | ||
| - run: | ||
| name: install bazel | ||
| command: | | ||
| apt-get install -q -y bazel | ||
| - run: test/test_bazel.sh | ||
|
|
||
| test-bazel-mac: | ||
| macos: | ||
| xcode: "12.2.0" | ||
| environment: | ||
| EMSDK_NOTTY: "1" | ||
| HOMEBREW_NO_AUTO_UPDATE: "1" | ||
| steps: | ||
| - checkout | ||
| - run: brew install grep | ||
| - run: | ||
| name: install bazel | ||
| command: | | ||
| brew install bazel | ||
| - run: test/test_bazel_mac.sh | ||
|
|
||
| workflows: | ||
| flake8: | ||
| jobs: | ||
| - flake8 | ||
| test-linux: | ||
| jobs: | ||
| - test-linux | ||
| test-mac: | ||
| jobs: | ||
| - test-mac | ||
| test-windows: | ||
| jobs: | ||
| - test-windows | ||
| build-docker-image: | ||
| jobs: | ||
| - build-docker-image | ||
| - publish-docker-image: | ||
| filters: | ||
| branches: | ||
| ignore: /.*/ | ||
| tags: | ||
| only: /.*/ | ||
| test-bazel-linux: | ||
| jobs: | ||
| - test-bazel-linux | ||
| test-bazel-mac: | ||
| jobs: | ||
| - test-bazel-mac | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Ignore all subdirectories | ||
| */* | ||
|
|
||
| # Allow to run the test script inside the Docker container | ||
| !/docker/test_dockerimage.sh | ||
|
|
||
| # Ignore unnecessary files inside top-level directory | ||
| *.bat | ||
| *.csh | ||
| *.fish | ||
| *.ps1 | ||
| *.pyc | ||
| .emscripten | ||
| .emscripten.old | ||
| .emscripten_cache | ||
| .emscripten_cache__last_clear | ||
| .emscripten_sanity | ||
| .emscripten_sanity_wasm | ||
| .flake8 | ||
| emscripten-releases-tot.txt | ||
| README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,23 @@ | ||
| [flake8] | ||
| ignore = E111,E114,E501,E261,E266,E121,E402,E241,E701 | ||
| filename = emsdk | ||
| ignore = | ||
|
Comment on lines
1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The removal of |
||
| E111, # Indentation is not a multiple of four | ||
| E114, # Indentation is not a multiple of four (comment) | ||
| E501, # Line too long | ||
| E121, # Continuation line under-indented for hanging indent | ||
| E722 # bare excepts | ||
| exclude = | ||
| ./llvm | ||
| ./gnu | ||
| ./upstream | ||
| ./fastcomp | ||
| ./fastcomp-clang | ||
| ./releases | ||
| ./clang | ||
| ./emscripten | ||
| ./binaryen | ||
| ./git | ||
| ./node | ||
| ./python | ||
| ./temp | ||
| ./zips | ||
| ./crunch | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Number of days of inactivity before an issue becomes stale | ||
| daysUntilStale: 365 | ||
| # Number of days of inactivity before a stale issue is closed | ||
| daysUntilClose: 30 | ||
| # Issues with these labels will never be considered stale | ||
| exemptLabels: | ||
| - pinned | ||
| - security | ||
| # Label to use when marking an issue as stale | ||
| staleLabel: wontfix | ||
| # Comment to post when marking an issue as stale. Set to `false` to disable | ||
| markComment: > | ||
| This issue has been automatically marked as stale because there has been no | ||
| activity in the past year. It will be closed automatically if no further | ||
| activity occurs in the next 30 days. Feel free to re-open at any time if this | ||
| issue is still relevant. | ||
| # Comment to post when closing a stale issue. Set to `false` to disable | ||
| closeComment: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,33 @@ | ||
| clang | ||
| emscripten | ||
| emsdk_set_env.bat | ||
| emsdk_set_env.sh | ||
| git | ||
| node | ||
| python | ||
| temp | ||
| zips | ||
| crunch | ||
| java | ||
| mingw | ||
| spidermonkey | ||
| binaryen | ||
| .emscripten | ||
| .emscripten_cache | ||
| .emscripten_cache__last_clear | ||
| .emscripten_sanity | ||
| .tmp | ||
| tmp | ||
| gnu | ||
| emscripten-nightlies.txt | ||
| llvm-nightlies-32bit.txt | ||
| llvm-nightlies-64bit.txt | ||
| llvm-tags-32bit.txt | ||
| llvm-tags-64bit.txt | ||
| upstream | ||
| *.pyc | ||
| __pycache__ | ||
|
|
||
| # Support for --embedded configs | ||
| /.emscripten | ||
| /.emscripten.old | ||
| /.emscripten_cache | ||
| /.emscripten_cache__last_clear | ||
| /.emscripten_sanity | ||
| /.emscripten_sanity_wasm | ||
|
|
||
| # Tags files that get generated at runtime | ||
| /emscripten-releases-tot.txt | ||
|
|
||
| # File that get download/extracted by emsdk itself | ||
| /gnu | ||
| /upstream | ||
| /fastcomp | ||
| /fastcomp-clang/ | ||
| /llvm | ||
| /releases | ||
| /clang | ||
| /emscripten | ||
| /git | ||
| /node | ||
| /python | ||
| /temp | ||
| /zips | ||
| /crunch | ||
| /java | ||
| /mingw | ||
| /spidermonkey | ||
| /binaryen |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using a single command to install and upgrade
pipandflake8for both Python versions to improve maintainability: