forked from dotnet/emsdk
-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] Add Node build artifact to build-deps.yml #9
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
Draft
Blackhex
wants to merge
13
commits into
build-pipeline-for-deps
Choose a base branch
from
build-deps-node
base: build-pipeline-for-deps
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
13 commits
Select commit
Hold shift + click to select a range
7fadba0
Fix wasm binaries installation (#11)
eukarpov 3ae16c4
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] 670e6de
Add nodejs arm64 (#10)
eukarpov f55ecf5
Bump emscripten to 3.1.30 (#282)
radekdoulik a117e26
Revert "Bump emscripten to 3.1.30 (#282)" (#291)
radical 87f83a7
Fix node.js activated path config (#12)
eukarpov ba1b59f
Add pipeline to build and release emsdk arm64 dependencies (#2)
eukarpov d7ff0aa
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] 77c2bf7
Merge remote-tracking branch 'origin/main'
Blackhex 7393f5b
Build Python Arm64 package with update_python.py (#17)
Blackhex c5069f8
Use released Python Arm64 package (#18)
Blackhex 00c8aa6
Add a workflow that runs Emscripten unit tests with the release packa…
Blackhex ff4ae15
Add Node build artifact to build-deps.yml
Blackhex 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,4 @@ | ||
./emsdk.ps1 activate tot | ||
Set-Location emscripten | ||
Invoke-Expression "$env:EMSDK_PYTHON -m pip install --upgrade pip" | ||
Invoke-Expression "$env:EMSDK_PYTHON -m pip install -r requirements-dev.txt" |
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,3 @@ | ||
./emsdk.ps1 activate tot | ||
Set-Location emscripten | ||
Invoke-Expression "$env:EMSDK_PYTHON .\test\runner.py ${args[0]} --failfast" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Test the release package | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
emscripten_repository: | ||
description: 'Emscripten repository' | ||
required: true | ||
default: 'Windows-on-ARM-Experiments/emscripten' | ||
type: string | ||
emscripten_branch: | ||
description: 'Emscripten repository branch' | ||
required: true | ||
default: 'fix-unit-tests-arm64' | ||
type: string | ||
emscripten_test_suite: | ||
description: 'Emscripten test suite' | ||
required: true | ||
default: 'test_hello_world' | ||
type: string | ||
|
||
defaults: | ||
run: | ||
working-directory: test-package | ||
|
||
jobs: | ||
test-binary-package: | ||
runs-on: windows-latest | ||
timeout-minutes: 240 | ||
|
||
steps: | ||
- name: Create working directory | ||
working-directory: ${{ github.workspace }} | ||
run: New-Item -ItemType Directory -Force -Path test-package | ||
|
||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
path: test-package | ||
|
||
- name: List Emscripten packages | ||
run: .\emsdk.ps1 list | ||
|
||
- name: Install latest release package | ||
run: .\emsdk.ps1 install tot | ||
|
||
- name: Activate latest release package | ||
run: .\emsdk.ps1 activate tot | ||
|
||
- name: List Emscripten packages | ||
run: .\emsdk.ps1 list | ||
|
||
- name: Git checkout Emscripten | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ inputs.emscripten_repository }} | ||
ref: ${{ inputs.emscripten_branch }} | ||
path: test-package/emscripten | ||
submodules: 'recursive' | ||
|
||
- name: Install Node packages | ||
working-directory: test-package/emscripten | ||
run: npm ci | ||
|
||
- name: Install Python packages to emsdk Python | ||
run: ${{ github.workspace }}\test-package\.github\bin\pip-install-requirements.ps1 | ||
|
||
- name: Run unit tests with emsdk Python | ||
run: ${{ github.workspace }}\test-package\.github\bin\run-tests.ps1 ${{ inputs.emscripten_test_suite }} | ||
env: | ||
EMCC_DEBUG: 1 # Disables parallel tests execution which leads to race conditions. |
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
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.
Uh oh!
There was an error while loading. Please reload this page.