-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/3.9.0/screencapture'
- Loading branch information
Showing
44 changed files
with
9,588 additions
and
1,442 deletions.
There are no files selected for viewing
This file contains 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,62 @@ | ||
name: node-gyp | ||
|
||
on: [push] | ||
|
||
env: | ||
# Path to the solution file relative to the root of the project. | ||
SOLUTION_FILE_PATH: . | ||
|
||
# Configuration type to build. | ||
# You can convert this to a build matrix if you need coverage of multiple configuration types. | ||
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
BUILD_CONFIGURATION: Release | ||
|
||
jobs: | ||
darwin: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.17.1' | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
# Build x64 | ||
- run: npm install --verbose | ||
- run: npx just fetch-wrapper --target_platform=darwin --target_arch=x64 | ||
- run: npx just build --runtime=electron --target=9.4.4 --target_platform=darwin --target_arch=x64 | ||
- run: npx just build --runtime=electron --target=11.4.5 --target_platform=darwin --target_arch=x64 | ||
- run: npx just build --runtime=electron --target=12.0.11 --target_platform=darwin --target_arch=x64 | ||
# Upload artifacts | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ${{ github.workspace }}/packages/*.tar.gz | ||
|
||
win32: | ||
runs-on: windows-2016 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.17.1' | ||
architecture: 'x64' # optional, x64 or x86. If not specified, x64 will be used by default | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
# Build ia32 | ||
- run: npm install --verbose | ||
- run: npx just fetch-wrapper --target_platform=win32 --target_arch=ia32 | ||
- run: npx just build --runtime=electron --target=9.4.4 --target_platform=win32 --target_arch=ia32 | ||
- run: npx just build --runtime=electron --target=11.4.5 --target_platform=win32 --target_arch=ia32 | ||
- run: npx just build --runtime=electron --target=12.0.11 --target_platform=win32 --target_arch=ia32 | ||
# Build x64 | ||
- run: npx just fetch-wrapper --target_platform=win32 --target_arch=x64 | ||
- run: npx just build --runtime=electron --target=9.4.4 --target_platform=win32 --target_arch=x64 | ||
- run: npx just build --runtime=electron --target=11.4.5 --target_platform=win32 --target_arch=x64 | ||
- run: npx just build --runtime=electron --target=12.0.11 --target_platform=win32 --target_arch=x64 | ||
# Upload artifacts | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ${{ github.workspace }}/packages/*.tar.gz |
This file contains 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 |
---|---|---|
|
@@ -14,4 +14,5 @@ bin/* | |
log/ | ||
out/ | ||
build/ | ||
nertc_sdk/ | ||
nertc_sdk/ | ||
*.zip |
This file contains 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 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,5 +1,9 @@ | ||
# node-nertc-sdk | ||
# nertc-electron-sdk | ||
|
||
3.9.0-rc-903 | ||
## Installation | ||
|
||
```bash | ||
npm install nertc-electron-sdk | ||
``` | ||
|
||
based on 网易云信 https://netease.im/ |
This file contains 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
Oops, something went wrong.