This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Fix browser version #89
Draft
aminya
wants to merge
14
commits into
atom:master
Choose a base branch
from
atom-community:fix-browser
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f278c2c
Delete travis and appveyor
aminya 35147b2
Add GithubActions
aminya 4cf2671
Add fail-fast false to allow all jobs to run
aminya cfcb76e
Add missing node in test:native
aminya b308a0a
Cache node_modules
aminya f28fe65
Remove CircleCi
aminya cd8b398
Add wasm version to github actions
aminya 0d6d935
Compile pcre as a library
aminya bad6c4b
Fix the browser scripts in package.json
aminya ebdf886
Install emsdk 2.0.9
aminya 718fa18
Update gitignore
aminya 4d5a6fc
Fix implicit instantiation of undefined template
aminya b7c0db0
Include wire.h
aminya 201cb8c
Activate emsk before building
aminya 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 was deleted.
Oops, something went wrong.
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,66 @@ | ||
name: ci | ||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
Test: | ||
if: "!contains(github.event.head_commit.message, '[skip ci]')" | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
node_version: | ||
- 10 | ||
- 12 | ||
- 14 | ||
name: Node ${{ matrix.node_version }} on ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
'node_modules' | ||
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('package.json') }} | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
node-arch: ${{ matrix.node_arch }} | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Lint | ||
run: npm run standard | ||
|
||
- name: Run tests | ||
run: | | ||
npm run test:node | ||
npm run test:native | ||
|
||
- name: Install emscripten | ||
shell: bash | ||
run: script/install-emscripten.sh | ||
|
||
- name: Build WASM version | ||
run: npm run build:browser | ||
|
||
- name: Test WASM version | ||
run: npm run test:browser | ||
|
||
Skip: | ||
if: contains(github.event.head_commit.message, '[skip ci]') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Skip CI 🚫 | ||
run: echo skip ci |
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 |
---|---|---|
|
@@ -4,5 +4,9 @@ build | |
.clang_complete | ||
|
||
/browser.js | ||
emsdk-portable | ||
emsdk-* | ||
package-lock.json | ||
|
||
*.wasm | ||
*.o | ||
*.a |
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
image: Visual Studio 2015 | ||
|
||
environment: | ||
matrix: | ||
- nodejs_version: "8" | ||
- nodejs_version: "12.14.1" | ||
|
||
platform: | ||
- x86 | ||
- x64 | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- git submodule update --init | ||
- node --version | ||
- npm --version | ||
- npm install | ||
|
||
test_script: | ||
- npm run standard | ||
- npm run test:node | ||
|
||
# empty appveyor | ||
build: off | ||
|
||
branches: | ||
only: | ||
- master | ||
- non-existing |
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
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
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
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
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.
This change is related to emscripten-core/emscripten#11274.
Currently, the template parameters seem to be deduced from the given constructor