summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-03-20 21:48:34 -0400
committerGitHub <noreply@github.com>2020-03-20 21:48:34 -0400
commit0adc86f105204b2475126c36dfc10e678f67df56 (patch)
treeff50bf401208fcb20e8828fbca10433b460fdeb0 /.github/workflows/ci.yml
parent77a44163fb22139a8269eb216014640aaf7a7fa8 (diff)
Remove DENO_BUILD_MODE and DENO_BUILD_PATH (#4431)
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH Also remove outdated docs related to ninja/gn. * fix * remove parameter to build_mode() * remove arg parsing from benchmark.py
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cf1096912..14db798c3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,7 +29,6 @@ jobs:
env:
RUST_BACKTRACE: full
- DENO_BUILD_MODE: release
RUSTC_WRAPPER: sccache
V8_BINARY: true
@@ -157,9 +156,7 @@ jobs:
- name: Build debug
if: matrix.kind == 'test_debug'
- run: |
- echo ::set-env name=DENO_BUILD_MODE::debug
- cargo build --locked --all-targets
+ run: cargo build --locked --all-targets
- name: Test release
if: matrix.kind == 'test_release'
@@ -167,13 +164,11 @@ jobs:
- name: Test debug
if: matrix.kind == 'test_debug'
- run: |
- echo ::set-env name=DENO_BUILD_MODE::debug
- cargo test --locked --all-targets
+ run: cargo test --locked --all-targets
- name: Run Benchmarks
if: matrix.kind == 'bench'
- run: python ./tools/benchmark.py target/release
+ run: python ./tools/benchmark.py --release
- name: Post Benchmarks
if: matrix.kind == 'bench' && github.ref == 'refs/heads/master' && github.repository == 'denoland/deno'
@@ -181,7 +176,7 @@ jobs:
DENOBOT_PAT: ${{ secrets.DENOBOT_PAT }}
run: |
git clone --depth 1 -b gh-pages https://${DENOBOT_PAT}@github.com/denoland/benchmark_data.git gh-pages
- python ./tools/build_benchmark_jsons.py
+ python ./tools/build_benchmark_jsons.py --release
cd gh-pages
git config user.email "propelml@gmail.com"
git config user.name "denobot"