forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit to adapt the feature to denoland#8710 and denoland#8622
- Loading branch information
Showing
286 changed files
with
15,266 additions
and
5,280 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 |
---|---|---|
|
@@ -93,6 +93,12 @@ jobs: | |
python-version: "2.7" | ||
architecture: x64 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
check-latest: true | ||
|
||
- name: Remove unused versions of Python | ||
if: startsWith(matrix.os, 'windows') | ||
run: |- | ||
|
@@ -162,41 +168,6 @@ jobs: | |
if: matrix.kind == 'test_debug' | ||
run: cargo build --locked --all-targets | ||
|
||
- name: Test release | ||
if: matrix.kind == 'test_release' | ||
run: cargo test --release --locked --all-targets | ||
|
||
- name: Test debug | ||
if: matrix.kind == 'test_debug' | ||
run: cargo test --locked --all-targets | ||
|
||
- name: Run Benchmarks | ||
if: matrix.kind == 'bench' | ||
run: cargo bench | ||
|
||
- name: Post Benchmarks | ||
if: | | ||
matrix.kind == 'bench' && | ||
github.repository == 'denoland/deno' && | ||
github.ref == 'refs/heads/master' | ||
env: | ||
DENOBOT_PAT: ${{ secrets.DENOBOT_PAT }} | ||
run: | | ||
git clone --depth 1 -b gh-pages https://${DENOBOT_PAT}@github.com/denoland/benchmark_data.git gh-pages | ||
deno run --unstable -A ./tools/build_benchmark_jsons.js --release | ||
cd gh-pages | ||
git config user.email "[email protected]" | ||
git config user.name "denobot" | ||
git add . | ||
git commit --message "Update benchmarks" | ||
git push origin gh-pages | ||
- name: Worker info | ||
if: matrix.kind == 'bench' | ||
run: | | ||
cat /proc/cpuinfo | ||
cat /proc/meminfo | ||
- name: Pre-release (linux) | ||
if: | | ||
startsWith(matrix.os, 'ubuntu') && | ||
|
@@ -246,6 +217,43 @@ jobs: | |
echo $(git rev-parse HEAD) > canary-latest.txt | ||
gsutil cp canary-latest.txt gs://dl.deno.land/canary-latest.txt | ||
- name: Test release | ||
if: matrix.kind == 'test_release' | ||
run: cargo test --release --locked --all-targets | ||
|
||
- name: Test debug | ||
if: matrix.kind == 'test_debug' | ||
run: | | ||
cargo test --locked --doc | ||
cargo test --locked --all-targets | ||
- name: Run Benchmarks | ||
if: matrix.kind == 'bench' | ||
run: cargo bench | ||
|
||
- name: Post Benchmarks | ||
if: | | ||
matrix.kind == 'bench' && | ||
github.repository == 'denoland/deno' && | ||
github.ref == 'refs/heads/master' | ||
env: | ||
DENOBOT_PAT: ${{ secrets.DENOBOT_PAT }} | ||
run: | | ||
git clone --depth 1 -b gh-pages https://${DENOBOT_PAT}@github.com/denoland/benchmark_data.git gh-pages | ||
deno run --unstable -A ./tools/build_benchmark_jsons.js --release | ||
cd gh-pages | ||
git config user.email "[email protected]" | ||
git config user.name "denobot" | ||
git add . | ||
git commit --message "Update benchmarks" | ||
git push origin gh-pages | ||
- name: Worker info | ||
if: matrix.kind == 'bench' | ||
run: | | ||
cat /proc/cpuinfo | ||
cat /proc/meminfo | ||
- name: Release stable | ||
uses: softprops/action-gh-release@v1 | ||
if: | | ||
|
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.