Skip to content

Commit

Permalink
Merge branch 'main' into feature/cli-test-jobs-env-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkldshv committed Jun 29, 2022
2 parents b543343 + 5eb9abd commit fb370e2
Show file tree
Hide file tree
Showing 129 changed files with 4,004 additions and 2,179 deletions.
File renamed without changes.
43 changes: 43 additions & 0 deletions .github/workflows/bench_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: bench

on:
# Runs at minute 9 past hour 0, 6, 12, and 18.
schedule:
- cron: 9 0,6,12,18 * * *
workflow_dispatch:

jobs:
bench:
name: bench / ${{ matrix.os }} / ${{ matrix.deno-version }}
if: github.repository == 'denoland/deno'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04-xl]

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
CI: true
GOOGLE_SVC_KEY: ${{ secrets.GOOGLE_SVC_KEY }}

steps:
- name: Clone repository
uses: actions/checkout@v2
with:
submodules: true
persist-credentials: false

- uses: dtolnay/rust-toolchain@stable

- name: Build release
run: cargo build --release --locked --all-targets

- name: Worker info
run: |
cat /proc/cpuinfo
cat /proc/meminfo
- name: Run and Post benchmarks
run: cargo bench --locked
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -603,4 +603,4 @@ jobs:
- name: Upload canary version file to dl.deno.land
run: |
echo ${{ github.sha }} > canary-latest.txt
gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt
gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.orig
*.pyc
*.swp
.env

/.cargo_home/
/.idea/
Expand Down
Loading

0 comments on commit fb370e2

Please sign in to comment.