Skip to content

Commit

Permalink
Make CI param for extra cflags, so node version can be injected only …
Browse files Browse the repository at this point in the history
…for one step
  • Loading branch information
dschuff committed Dec 20, 2024
1 parent 3caad8d commit 7bbbb67
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ commands:
description: "Name of given test suite"
type: string
default: ""
extra-cflags:
description: "Extra EMCC_CFLAGS"
type: string
default: ""
steps:
- when:
# We only set EMTEST_RETRY_FLAKY on pull requests. When we run
Expand All @@ -250,6 +254,8 @@ commands:
set-retry-flaky-tests
- run:
name: run tests (<< parameters.title >>)
environment:
EMCC_CFLAGS: << parameters.extra-cflags >>
command: |
env
./test/runner << parameters.test_targets >>
Expand Down Expand Up @@ -739,7 +745,6 @@ jobs:
environment:
LANG: "C.UTF-8"
EMTEST_SKIP_V8: "1"
EMCC_CFLAGS: "-sMIN_NODE_VERSION=101900"
steps:
- checkout
- run:
Expand All @@ -750,8 +755,7 @@ jobs:
- install-node-canary
- run-tests:
title: "node (canary)"
environment:
EMCC_CFLAGS: "-sMIN_NODE_VERSION=101900"
extra-cflags: "-sMIN_NODE_VERSION=101900"
test_targets: "
other.test_deterministic
other.test_gen_struct_info
Expand Down

0 comments on commit 7bbbb67

Please sign in to comment.