2021-07-15 16:08:53 +00:00
|
|
|
version: 2.1
|
2018-06-01 13:07:15 +00:00
|
|
|
|
2018-08-17 08:29:10 +00:00
|
|
|
defaults: &defaults
|
|
|
|
working_directory: ~/repo
|
|
|
|
docker:
|
2022-02-14 17:34:13 +00:00
|
|
|
# Note: when updating the docker image version,
|
|
|
|
# make sure there are no extra old versions lying around.
|
|
|
|
# (e.g. `rg -F --hidden <old_tag>`)
|
2022-06-30 04:22:03 +00:00
|
|
|
- image: pyodide/pyodide-env:20220629-py310-chrome102-firefox100
|
2019-12-31 17:09:39 +00:00
|
|
|
environment:
|
2021-04-20 20:57:13 +00:00
|
|
|
- EMSDK_NUM_CORES: 3
|
|
|
|
EMCC_CORES: 3
|
|
|
|
PYODIDE_JOBS: 3
|
2021-09-11 12:22:13 +00:00
|
|
|
# Make sure the ccache dir is consistent between core and package builds
|
|
|
|
# (it's not the case otherwise)
|
|
|
|
CCACHE_DIR: /root/.ccache/
|
2018-06-01 13:07:15 +00:00
|
|
|
|
2022-09-08 01:43:55 +00:00
|
|
|
orbs:
|
|
|
|
macos: circleci/macos@2.2.0
|
|
|
|
|
2018-08-17 08:29:10 +00:00
|
|
|
jobs:
|
2021-03-22 08:39:09 +00:00
|
|
|
test-docs:
|
2021-05-01 17:17:32 +00:00
|
|
|
<<: *defaults
|
2021-03-30 13:27:22 +00:00
|
|
|
resource_class: small
|
2021-03-22 08:39:09 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Test docs
|
2021-07-15 16:08:53 +00:00
|
|
|
command: |
|
|
|
|
mkdir test-results
|
2022-07-31 10:00:45 +00:00
|
|
|
pip install pytest-pyodide
|
2022-09-11 07:20:56 +00:00
|
|
|
pip install -e ./pyodide-build
|
2022-07-04 07:07:01 +00:00
|
|
|
npm install -g node-fetch@2
|
2021-07-15 16:08:53 +00:00
|
|
|
pytest docs/sphinx_pyodide/tests --junitxml=test-results/junit.xml
|
|
|
|
- store_test_results:
|
|
|
|
path: test-results
|
2021-03-22 08:39:09 +00:00
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
build-core:
|
2020-06-28 18:24:40 +00:00
|
|
|
<<: *defaults
|
|
|
|
steps:
|
|
|
|
- checkout
|
2018-06-14 18:19:08 +00:00
|
|
|
|
2018-06-01 13:07:15 +00:00
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2022-03-05 07:50:44 +00:00
|
|
|
- -core-v20220303-{{ checksum "cpython/Makefile" }}-{{ checksum "Makefile.envs" }}
|
|
|
|
- -core-v20220303-{{ checksum "cpython/Makefile" }}
|
|
|
|
- -core-v20220303
|
2018-06-01 13:07:15 +00:00
|
|
|
|
|
|
|
- run:
|
2020-12-11 15:47:47 +00:00
|
|
|
name: build emsdk
|
2022-03-05 07:50:44 +00:00
|
|
|
no_output_timeout: 20m
|
2018-06-01 13:07:15 +00:00
|
|
|
command: |
|
2021-09-11 12:22:13 +00:00
|
|
|
# This is necessary to use the ccache from emsdk
|
|
|
|
source pyodide_env.sh
|
|
|
|
|
2018-08-06 17:58:05 +00:00
|
|
|
ccache -z
|
2020-12-11 15:47:47 +00:00
|
|
|
make -C emsdk
|
|
|
|
ccache -s
|
|
|
|
|
2021-09-11 12:22:13 +00:00
|
|
|
# Set mtime for EM_CONFIG to avoid ccache cache misses
|
|
|
|
touch -m -d '1 Jan 2021 12:00' emsdk/emsdk/.emscripten
|
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
- run:
|
|
|
|
name: build cpython
|
2022-03-05 07:50:44 +00:00
|
|
|
no_output_timeout: 20m
|
2020-12-11 15:47:47 +00:00
|
|
|
command: |
|
2021-09-11 12:22:13 +00:00
|
|
|
# This is necessary to use the ccache from emsdk
|
|
|
|
source pyodide_env.sh
|
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
ccache -z
|
|
|
|
make -C cpython
|
|
|
|
ccache -s
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: build pyodide core
|
2022-03-05 07:50:44 +00:00
|
|
|
no_output_timeout: 20m
|
2020-12-11 15:47:47 +00:00
|
|
|
command: |
|
2021-09-11 12:22:13 +00:00
|
|
|
# This is necessary to use the ccache from emsdk
|
|
|
|
source pyodide_env.sh
|
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
ccache -z
|
2021-09-02 20:19:23 +00:00
|
|
|
PYODIDE_PACKAGES="core" make
|
2018-07-24 19:40:25 +00:00
|
|
|
ccache -s
|
2018-06-01 13:07:15 +00:00
|
|
|
|
2018-09-27 09:38:26 +00:00
|
|
|
- run:
|
|
|
|
name: check-size
|
2022-06-22 18:03:37 +00:00
|
|
|
command: du dist/ -abh --max-depth 1 | sort -k 2
|
2018-09-27 09:38:26 +00:00
|
|
|
|
2018-06-01 13:07:15 +00:00
|
|
|
- save_cache:
|
|
|
|
paths:
|
2021-09-11 12:22:13 +00:00
|
|
|
- /root/.ccache
|
2022-03-05 07:50:44 +00:00
|
|
|
key: -core-v20220303-{{ checksum "cpython/Makefile" }}-{{ checksum "Makefile.envs" }}
|
2018-06-01 13:07:15 +00:00
|
|
|
|
2021-01-05 08:47:28 +00:00
|
|
|
- run:
|
|
|
|
name: Clean up workspace
|
|
|
|
command: |
|
|
|
|
rm -rf cpython/{build,downloads}
|
|
|
|
rm -rf emsdk/emsdk/binaryen
|
|
|
|
|
2018-08-17 08:29:10 +00:00
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
2020-12-11 15:47:47 +00:00
|
|
|
- .
|
2018-08-17 08:29:10 +00:00
|
|
|
|
2022-08-24 21:22:33 +00:00
|
|
|
- run:
|
|
|
|
name: Zip build directory
|
|
|
|
command: |
|
|
|
|
tar cjf pyodide.tar.gz dist
|
|
|
|
tar cjf pyodide-core.tar.gz dist/pyodide{.js,.mjs,.asm.js,.asm.wasm,.asm.data,_py.tar} dist/{package,repodata}.json
|
|
|
|
|
2021-04-13 12:42:50 +00:00
|
|
|
- store_artifacts:
|
2022-04-11 23:01:40 +00:00
|
|
|
path: /root/repo/dist/
|
2021-04-13 12:42:50 +00:00
|
|
|
|
2021-12-07 12:24:31 +00:00
|
|
|
- store_artifacts:
|
2022-08-22 00:36:00 +00:00
|
|
|
path: /root/repo/pyodide.tar.gz
|
2021-12-07 12:24:31 +00:00
|
|
|
|
2022-08-24 21:22:33 +00:00
|
|
|
- store_artifacts:
|
|
|
|
path: /root/repo/pyodide-core.tar.gz
|
|
|
|
|
2021-12-07 12:24:31 +00:00
|
|
|
- store_artifacts:
|
|
|
|
path: /root/repo/packages/build-logs
|
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
build-packages:
|
2022-04-19 00:24:47 +00:00
|
|
|
parameters:
|
|
|
|
packages:
|
|
|
|
description: The packages to be built.
|
|
|
|
type: string
|
2020-05-08 23:46:59 +00:00
|
|
|
<<: *defaults
|
2021-11-04 11:23:41 +00:00
|
|
|
resource_class: large
|
2020-05-08 23:46:59 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
|
2020-05-08 23:46:59 +00:00
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2022-03-05 07:50:44 +00:00
|
|
|
- -pkg2-v20220303-{{ checksum "Makefile.envs" }}
|
|
|
|
- -pkg2-v20220303
|
2020-05-08 23:46:59 +00:00
|
|
|
|
2022-06-09 17:57:34 +00:00
|
|
|
- run:
|
|
|
|
name: install rust
|
|
|
|
command: |
|
|
|
|
make rust
|
|
|
|
|
2020-05-08 23:46:59 +00:00
|
|
|
- run:
|
2020-12-11 15:47:47 +00:00
|
|
|
name: build packages
|
2022-04-19 00:24:47 +00:00
|
|
|
no_output_timeout: 60m
|
2020-05-08 23:46:59 +00:00
|
|
|
command: |
|
2021-09-11 12:22:13 +00:00
|
|
|
source pyodide_env.sh
|
|
|
|
|
|
|
|
# Set mtime for EM_CONFIG to avoid ccache cache misses
|
|
|
|
touch -m -d '1 Jan 2021 12:00' emsdk/emsdk/.emscripten
|
|
|
|
|
2020-05-08 23:46:59 +00:00
|
|
|
ccache -z
|
2022-04-19 00:24:47 +00:00
|
|
|
PYODIDE_PACKAGES='<< parameters.packages >>' make -C packages
|
2020-05-08 23:46:59 +00:00
|
|
|
ccache -s
|
2021-11-04 11:23:41 +00:00
|
|
|
environment:
|
|
|
|
PYODIDE_JOBS: 5
|
2020-05-08 23:46:59 +00:00
|
|
|
|
|
|
|
- run:
|
|
|
|
name: check-size
|
2022-06-22 18:03:37 +00:00
|
|
|
command: du dist/ -abh --max-depth 1 | sort -k 2
|
2020-05-08 23:46:59 +00:00
|
|
|
|
2020-12-11 15:47:47 +00:00
|
|
|
- save_cache:
|
|
|
|
paths:
|
2021-09-11 12:22:13 +00:00
|
|
|
- /root/.ccache
|
2022-03-05 07:50:44 +00:00
|
|
|
key: -pkg2-v20220303-{{ checksum "Makefile.envs" }}
|
2020-12-11 15:47:47 +00:00
|
|
|
|
2021-12-07 12:24:31 +00:00
|
|
|
- run:
|
|
|
|
name: Zip build directory
|
|
|
|
command: |
|
2022-08-24 21:22:33 +00:00
|
|
|
tar cjf pyodide.tar.gz dist
|
|
|
|
tar cjf pyodide-core.tar.gz dist/pyodide{.js,.mjs,.asm.js,.asm.wasm,.asm.data,_py.tar} dist/{package,repodata}.json
|
2022-03-05 00:10:06 +00:00
|
|
|
tar cjf build-logs.tar.gz packages/build-logs
|
2021-12-07 12:24:31 +00:00
|
|
|
|
2022-07-13 08:30:58 +00:00
|
|
|
- run:
|
|
|
|
name: Clean up package source files
|
|
|
|
command: |
|
|
|
|
cd packages && find **/build ! -name '.packaged' -type f -exec rm -f {} +
|
|
|
|
|
2021-12-07 12:24:31 +00:00
|
|
|
- store_artifacts:
|
2022-08-22 00:36:00 +00:00
|
|
|
path: /root/repo/pyodide.tar.gz
|
2021-12-07 12:24:31 +00:00
|
|
|
|
2022-08-24 21:22:33 +00:00
|
|
|
- store_artifacts:
|
|
|
|
path: /root/repo/pyodide-core.tar.gz
|
|
|
|
|
2022-03-05 00:10:06 +00:00
|
|
|
- store_artifacts:
|
|
|
|
path: /root/repo/build-logs.tar.gz
|
|
|
|
|
2022-06-28 17:16:23 +00:00
|
|
|
build-pyodide-debug:
|
|
|
|
<<: *defaults
|
|
|
|
resource_class: large
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: build pyodide debug
|
|
|
|
command: |
|
|
|
|
cp -r dist dist-release
|
|
|
|
rm dist/pyodide.asm.js
|
|
|
|
source pyodide_env.sh
|
|
|
|
ccache -z
|
2022-06-28 23:52:32 +00:00
|
|
|
PYODIDE_SYMBOLS=1 make dist/pyodide.asm.js
|
2022-06-28 17:16:23 +00:00
|
|
|
ccache -s
|
|
|
|
cd dist
|
|
|
|
npx prettier -w pyodide.asm.js
|
2022-06-28 23:52:32 +00:00
|
|
|
npx prettier -w pyodide.js
|
2022-06-28 17:16:23 +00:00
|
|
|
cd ..
|
|
|
|
mv dist dist-debug
|
|
|
|
mv dist-release dist
|
|
|
|
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- .
|
|
|
|
|
2022-07-10 08:58:39 +00:00
|
|
|
create-xbuild-env:
|
|
|
|
<<: *defaults
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: create xbuild environment
|
|
|
|
command: |
|
2022-09-11 07:20:56 +00:00
|
|
|
pip install -e ./pyodide-build
|
|
|
|
python -m pyodide_build create_xbuildenv
|
2022-07-10 08:58:39 +00:00
|
|
|
|
2022-08-24 21:22:33 +00:00
|
|
|
- run:
|
|
|
|
name: Zip xbuild environment
|
|
|
|
command: |
|
|
|
|
tar cjf xbuildenv.tar.gz xbuildenv/
|
|
|
|
|
|
|
|
- store_artifacts:
|
|
|
|
path: /root/repo/xbuildenv.tar.gz
|
|
|
|
|
2022-07-10 08:58:39 +00:00
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
2022-07-12 09:14:41 +00:00
|
|
|
- ./xbuildenv
|
2022-07-10 08:58:39 +00:00
|
|
|
|
2021-07-15 16:08:53 +00:00
|
|
|
test-main:
|
|
|
|
parameters:
|
|
|
|
test-params:
|
|
|
|
description: The tests to run.
|
|
|
|
type: string
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir:
|
|
|
|
description: pytest-cache-dir.
|
|
|
|
type: string
|
|
|
|
default: ""
|
2018-08-17 08:29:10 +00:00
|
|
|
<<: *defaults
|
2021-11-04 11:23:41 +00:00
|
|
|
resource_class: medium+
|
2018-08-17 08:29:10 +00:00
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2018-06-01 13:07:15 +00:00
|
|
|
- run:
|
|
|
|
name: test
|
|
|
|
command: |
|
2022-05-04 20:06:55 +00:00
|
|
|
make npm-link
|
2021-06-26 17:31:00 +00:00
|
|
|
mkdir test-results
|
2022-07-31 10:00:45 +00:00
|
|
|
pip install pytest-pyodide
|
2022-08-30 00:50:59 +00:00
|
|
|
pip install -r requirements.txt
|
2022-09-11 07:20:56 +00:00
|
|
|
pip install -e pyodide-build
|
2022-07-04 07:07:01 +00:00
|
|
|
npm install -g node-fetch@2
|
2022-07-11 00:52:38 +00:00
|
|
|
if [ -z "<< parameters.cache-dir >>" ]; then
|
|
|
|
export CACHE_DIR=".test_cache/.pytest_cache_$(echo $RANDOM | md5sum | head -c 10)"
|
|
|
|
else
|
|
|
|
export CACHE_DIR=".test_cache/<< parameters.cache-dir >>"
|
|
|
|
fi
|
|
|
|
echo "pytest cache dir: $CACHE_DIR"
|
2021-07-15 16:08:53 +00:00
|
|
|
tools/pytest_wrapper.py \
|
|
|
|
--junitxml=test-results/junit.xml \
|
2021-07-16 21:33:05 +00:00
|
|
|
--verbose \
|
2022-05-05 18:14:20 +00:00
|
|
|
--durations 50 \
|
2022-08-30 00:50:59 +00:00
|
|
|
--benchmark-json=benchmark-time.json \
|
|
|
|
--benchmark-columns=mean,min,max,stddev \
|
2022-07-11 00:52:38 +00:00
|
|
|
<< parameters.test-params >> \
|
|
|
|
-o cache_dir=$CACHE_DIR
|
2021-06-26 17:31:00 +00:00
|
|
|
- store_test_results:
|
|
|
|
path: test-results
|
2018-06-19 17:36:14 +00:00
|
|
|
|
2022-09-08 01:43:55 +00:00
|
|
|
test-main-macos:
|
|
|
|
parameters:
|
|
|
|
test-params:
|
|
|
|
description: The tests to run.
|
|
|
|
type: string
|
|
|
|
cache-dir:
|
|
|
|
description: pytest-cache-dir.
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
resource_class: medium
|
|
|
|
macos:
|
|
|
|
xcode: 13.3.1
|
|
|
|
|
|
|
|
working_directory: ~/repo
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
# The standard way of enabling safaridriver no longer works for Safari 14+
|
|
|
|
# https://blog.bytesguy.com/enabling-remote-automation-in-safari-14
|
|
|
|
- macos/add-safari-permissions
|
|
|
|
- run:
|
|
|
|
name: install miniforge
|
|
|
|
command: |
|
|
|
|
curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh
|
|
|
|
bash Miniforge3-MacOSX-x86_64.sh -b && rm -f Miniforge3-MacOSX-x86_64.sh
|
|
|
|
~/miniforge3/bin/conda create -n pyodide python=3.10 -y
|
|
|
|
- run:
|
|
|
|
name: install dependencies
|
|
|
|
command: |
|
|
|
|
export PATH="$HOME/miniforge3/bin:$PATH"
|
|
|
|
conda create -n pyodide python=3.10 -y
|
|
|
|
source activate pyodide
|
|
|
|
python -m pip install -r requirements.txt
|
|
|
|
python -m pip install pytest-pyodide
|
|
|
|
- run:
|
|
|
|
name: test safari
|
|
|
|
command: |
|
|
|
|
export PATH="$HOME/miniforge3/bin:$PATH"
|
|
|
|
source activate pyodide
|
|
|
|
mkdir test-results
|
|
|
|
pip install pytest-pyodide
|
2022-09-11 07:20:56 +00:00
|
|
|
pip install -e ./pyodide-build
|
2022-09-08 01:43:55 +00:00
|
|
|
if [ -z "<< parameters.cache-dir >>" ]; then
|
|
|
|
export CACHE_DIR=".test_cache/.pytest_cache_$(echo $RANDOM | md5sum | head -c 10)"
|
|
|
|
else
|
|
|
|
export CACHE_DIR=".test_cache/<< parameters.cache-dir >>"
|
|
|
|
fi
|
|
|
|
echo "pytest cache dir: $CACHE_DIR"
|
|
|
|
tools/pytest_wrapper.py \
|
|
|
|
--junitxml=test-results/junit.xml \
|
|
|
|
--verbose \
|
|
|
|
--durations 50 \
|
|
|
|
<< parameters.test-params >> \
|
|
|
|
-o cache_dir=$CACHE_DIR
|
|
|
|
- store_test_results:
|
|
|
|
path: test-results
|
|
|
|
|
2021-07-09 20:37:28 +00:00
|
|
|
benchmark-stack-size:
|
|
|
|
<<: *defaults
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- run:
|
|
|
|
name: stack-size
|
|
|
|
command: |
|
2022-05-04 20:06:55 +00:00
|
|
|
make npm-link
|
2022-07-31 10:00:45 +00:00
|
|
|
pip install pytest-pyodide
|
2022-07-04 07:07:01 +00:00
|
|
|
npm install -g node-fetch@2
|
2021-07-22 05:30:34 +00:00
|
|
|
pytest -s benchmark/stack_usage.py | sed -n 's/## //pg'
|
2021-07-09 20:37:28 +00:00
|
|
|
|
2021-07-06 08:48:35 +00:00
|
|
|
test-js:
|
2021-06-01 02:06:56 +00:00
|
|
|
<<: *defaults
|
|
|
|
resource_class: small
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- run:
|
|
|
|
name: test
|
|
|
|
command: |
|
2022-04-18 04:10:03 +00:00
|
|
|
cd src/test-js
|
2021-11-27 19:43:31 +00:00
|
|
|
npm ci
|
2022-04-18 04:10:03 +00:00
|
|
|
npm link ../../dist
|
|
|
|
npm run test-types
|
2021-07-06 08:48:35 +00:00
|
|
|
npm test
|
2022-09-12 22:00:54 +00:00
|
|
|
- run:
|
|
|
|
name: check if Pyodide works with Webpack
|
|
|
|
command: |
|
|
|
|
git clone https://github.com/pyodide/pyodide-webpack-example.git
|
|
|
|
export DEV_PYODIDE_PATH=`realpath dist`
|
|
|
|
cd pyodide-webpack-example
|
|
|
|
git checkout 164054a9c6fbd2176f386b6552ed8d079c6bcc04
|
|
|
|
./build.sh
|
2021-06-01 02:06:56 +00:00
|
|
|
|
2022-09-12 18:18:40 +00:00
|
|
|
test-cmdline-runner:
|
|
|
|
<<: *defaults
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: test
|
|
|
|
command: |
|
|
|
|
set -x
|
|
|
|
export PYODIDE_ROOT=$(pwd)
|
|
|
|
echo $PYODIDE_ROOT
|
|
|
|
cd ~
|
|
|
|
mkdir test
|
|
|
|
cd test
|
|
|
|
git clone https://github.com/python-attrs/attrs --depth 1 --branch 22.1.0
|
|
|
|
git clone https://github.com/zopefoundation/zope.interface.git --depth 1 --branch 5.4.0
|
|
|
|
git clone https://github.com/nedbat/coveragepy.git --depth 1 --branch coverage-5.5
|
|
|
|
|
|
|
|
python3.10 -m venv .venv-host
|
|
|
|
source .venv-host/bin/activate
|
|
|
|
pip install $PYODIDE_ROOT/pyodide-build
|
|
|
|
pyodide venv .venv-pyodide
|
|
|
|
source .venv-pyodide/bin/activate
|
|
|
|
|
|
|
|
cd zope.interface
|
|
|
|
pyodide build
|
|
|
|
pip install dist/*.whl
|
|
|
|
cd ../coveragepy/
|
|
|
|
pyodide build
|
|
|
|
pip install dist/*.whl
|
|
|
|
cd ../attrs
|
|
|
|
pyodide build
|
|
|
|
WHEEL_NAME=$(echo dist/*.whl)
|
|
|
|
pip install $WHEEL_NAME[tests]
|
|
|
|
python -m pytest -k 'not mypy'
|
|
|
|
|
2018-10-01 20:57:08 +00:00
|
|
|
benchmark:
|
|
|
|
<<: *defaults
|
2021-11-04 11:23:41 +00:00
|
|
|
resource_class: medium+
|
2018-10-01 20:57:08 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2022-03-10 04:34:25 +00:00
|
|
|
- run:
|
|
|
|
name: install requirements
|
|
|
|
command: |
|
2022-05-04 20:17:16 +00:00
|
|
|
pip3 install numpy matplotlib pandas
|
2018-10-01 20:57:08 +00:00
|
|
|
- run:
|
|
|
|
name: benchmark
|
|
|
|
command: |
|
2022-07-31 10:00:45 +00:00
|
|
|
pip install pytest-pyodide
|
2022-07-04 07:07:01 +00:00
|
|
|
npm install -g node-fetch@2
|
2022-04-11 23:01:40 +00:00
|
|
|
python benchmark/benchmark.py all --output dist/benchmarks.json
|
2022-03-02 18:11:36 +00:00
|
|
|
|
2018-10-02 13:25:35 +00:00
|
|
|
- store_artifacts:
|
2022-04-11 23:01:40 +00:00
|
|
|
path: /root/repo/dist/benchmarks.json
|
2018-10-01 20:57:08 +00:00
|
|
|
|
2019-05-31 18:39:52 +00:00
|
|
|
deploy-release:
|
2021-04-26 19:58:05 +00:00
|
|
|
# To reduce chance of deployment issues, try to keep the steps here as
|
|
|
|
# similar as possible to the steps in deploy-dev!
|
2021-03-30 13:27:22 +00:00
|
|
|
resource_class: small
|
|
|
|
|
2018-11-02 15:25:13 +00:00
|
|
|
docker:
|
2020-11-01 10:24:24 +00:00
|
|
|
- image: cibuilds/github:0.13
|
2018-11-02 15:25:13 +00:00
|
|
|
|
2018-06-19 17:36:14 +00:00
|
|
|
steps:
|
2018-08-24 14:31:28 +00:00
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
2018-11-02 15:30:36 +00:00
|
|
|
at: .
|
2020-05-19 16:15:21 +00:00
|
|
|
- run:
|
|
|
|
name: Install requirements
|
|
|
|
command: |
|
2022-06-24 05:51:43 +00:00
|
|
|
apk add --no-cache --update python3 make npm
|
2020-05-19 16:15:21 +00:00
|
|
|
python3 -m pip install awscli
|
2022-08-28 05:17:51 +00:00
|
|
|
|
2018-06-19 17:36:14 +00:00
|
|
|
- run:
|
2018-11-02 15:25:13 +00:00
|
|
|
name: Deploy Github Releases
|
2018-06-19 17:36:14 +00:00
|
|
|
command: |
|
2022-07-10 08:58:39 +00:00
|
|
|
mkdir -p /tmp/ghr/dist
|
|
|
|
cp -r dist /tmp/ghr/pyodide
|
|
|
|
cp -r xbuildenv /tmp/ghr/xbuildenv
|
|
|
|
cd /tmp/ghr
|
2022-08-22 00:36:00 +00:00
|
|
|
tar cjf dist/pyodide-${CIRCLE_TAG}.tar.bz2 pyodide/
|
2022-08-24 21:22:33 +00:00
|
|
|
tar cjf dist/pyodide-core-${CIRCLE_TAG}.tar.bz2 pyodide/pyodide{.js,.mjs,.asm.js,.asm.wasm,.asm.data,_py.tar} pyodide/{package,repodata}.json
|
2022-07-10 08:58:39 +00:00
|
|
|
tar cjf dist/xbuildenv-${CIRCLE_TAG}.tar.bz2 xbuildenv/
|
|
|
|
ghr -t "${GITHUB_TOKEN}" -u "${CIRCLE_PROJECT_USERNAME}" \
|
|
|
|
-r "${CIRCLE_PROJECT_REPONAME}" -c "${CIRCLE_SHA1}" \
|
|
|
|
-delete "${CIRCLE_TAG}" \
|
|
|
|
dist
|
2018-06-19 17:36:14 +00:00
|
|
|
|
2022-06-24 05:51:43 +00:00
|
|
|
- run:
|
|
|
|
name: Deploy to npm
|
|
|
|
command: |
|
|
|
|
./tools/deploy_to_npm.sh
|
|
|
|
|
2022-06-25 04:19:04 +00:00
|
|
|
- run:
|
|
|
|
name: Deploy to PyPI
|
|
|
|
command: |
|
|
|
|
# Ask github actions to deploy for us
|
2022-09-16 06:47:43 +00:00
|
|
|
export PAYLOAD={"ref":"${CIRCLE_TAG}","inputs":{}}
|
2022-06-25 04:19:04 +00:00
|
|
|
curl \
|
|
|
|
-X POST \
|
|
|
|
-H "Accept: application/vnd.github.v3+json" \
|
2022-09-16 06:47:43 +00:00
|
|
|
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
|
|
|
https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/dispatches/deploy-release \
|
|
|
|
-d "$PAYLOAD"
|
2022-06-25 04:19:04 +00:00
|
|
|
|
2021-04-18 14:28:21 +00:00
|
|
|
- run:
|
|
|
|
name: Set PYODIDE_BASE_URL
|
2022-06-28 17:16:23 +00:00
|
|
|
command: |
|
|
|
|
PYODIDE_BASE_URL="https://cdn.jsdelivr.net/pyodide/v${CIRCLE_TAG}/debug/" make dist/console.html
|
|
|
|
cp dist/console.html dist-debug/console.html
|
|
|
|
PYODIDE_BASE_URL="https://cdn.jsdelivr.net/pyodide/v${CIRCLE_TAG}/full/" make dist/console.html
|
2020-05-19 16:15:21 +00:00
|
|
|
- run:
|
|
|
|
name: Deploy to pyodide-cdn2.iodide.io
|
|
|
|
command: |
|
2022-04-11 23:01:40 +00:00
|
|
|
find dist/ -type f -print0 | xargs -0 -n1 -I@ bash -c "echo \"Compressing @\"; gzip @; mv @.gz @;"
|
|
|
|
aws s3 sync dist/ "s3://pyodide-cdn2.iodide.io/v${CIRCLE_TAG}/full/" --exclude '*.data' --cache-control 'max-age=30758400, immutable, public' --content-encoding 'gzip' # 1 year cache
|
|
|
|
aws s3 sync dist/ "s3://pyodide-cdn2.iodide.io/v${CIRCLE_TAG}/full/" --exclude '*' --include '*.data' --cache-control 'max-age=30758400, immutable, public' --content-type 'application/wasm' --content-encoding 'gzip' # 1 year
|
2022-06-28 17:16:23 +00:00
|
|
|
- run:
|
|
|
|
name: Deploy debug version to pyodide-cdn2.iodide.io
|
|
|
|
command: |
|
|
|
|
find dist-debug/ -type f -print0 | xargs -0 -n1 -I@ bash -c "echo \"Compressing @\"; gzip @; mv @.gz @;"
|
|
|
|
aws s3 sync dist-debug/ "s3://pyodide-cdn2.iodide.io/v${CIRCLE_TAG}/debug/" --exclude '*.data' --cache-control 'max-age=30758400, public' --content-encoding 'gzip' # 1 year cache
|
|
|
|
aws s3 sync dist-debug/ "s3://pyodide-cdn2.iodide.io/v${CIRCLE_TAG}/debug/" --exclude '*' --include '*.data' --cache-control 'max-age=30758400, public' --content-type 'application/wasm' --content-encoding 'gzip' # 1 year cache
|
|
|
|
- run:
|
|
|
|
name: update 301 redirect for the /latest/* route.
|
|
|
|
command: |
|
2020-05-19 16:15:21 +00:00
|
|
|
aws s3api put-bucket-website --cli-input-json file://.circleci/s3-website-config.json
|
|
|
|
|
2021-04-26 19:58:05 +00:00
|
|
|
deploy-dev:
|
|
|
|
# To reduce chance of deployment issues, try to keep the steps here as
|
|
|
|
# similar as possible to the steps in deploy-release!
|
2021-03-30 13:27:22 +00:00
|
|
|
resource_class: small
|
|
|
|
|
2019-05-31 18:39:52 +00:00
|
|
|
docker:
|
2021-05-01 17:17:32 +00:00
|
|
|
- image: cibuilds/github:0.13
|
2019-05-31 18:39:52 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- run:
|
2020-05-19 16:15:21 +00:00
|
|
|
name: Install requirements
|
2019-05-31 18:39:52 +00:00
|
|
|
command: |
|
2021-04-26 19:58:05 +00:00
|
|
|
apk add --no-cache --update python3 make
|
2020-05-19 16:15:21 +00:00
|
|
|
python3 -m pip install awscli
|
2021-04-26 19:58:05 +00:00
|
|
|
- run:
|
|
|
|
name: Set PYODIDE_BASE_URL
|
2022-06-28 17:16:23 +00:00
|
|
|
command: |
|
|
|
|
PYODIDE_BASE_URL="https://cdn.jsdelivr.net/pyodide/dev/debug/" make dist/console.html
|
|
|
|
cp dist/console.html dist-debug/console.html
|
|
|
|
PYODIDE_BASE_URL="https://cdn.jsdelivr.net/pyodide/dev/full/" make dist/console.html
|
2019-05-31 18:39:52 +00:00
|
|
|
- run:
|
2020-05-19 16:15:21 +00:00
|
|
|
name: Deploy to pyodide-cdn2.iodide.io
|
2019-05-31 18:39:52 +00:00
|
|
|
command: |
|
2022-04-11 23:01:40 +00:00
|
|
|
find dist/ -type f -print0 | xargs -0 -n1 -I@ bash -c "echo \"Compressing @\"; gzip @; mv @.gz @;"
|
2020-05-23 14:02:10 +00:00
|
|
|
aws s3 rm --recursive "s3://pyodide-cdn2.iodide.io/dev/full/"
|
2022-04-11 23:01:40 +00:00
|
|
|
aws s3 sync dist/ "s3://pyodide-cdn2.iodide.io/dev/full/" --exclude '*.data' --cache-control 'max-age=3600, public' --content-encoding 'gzip' # 1 hour cache
|
|
|
|
aws s3 sync dist/ "s3://pyodide-cdn2.iodide.io/dev/full/" --exclude '*' --include '*.data' --cache-control 'max-age=3600, public' --content-type 'application/wasm' --content-encoding 'gzip' # 1 hour cache
|
2022-06-28 06:04:55 +00:00
|
|
|
- run:
|
|
|
|
name: Deploy debug version to pyodide-cdn2.iodide.io
|
|
|
|
command: |
|
2022-06-28 17:16:23 +00:00
|
|
|
find dist-debug/ -type f -print0 | xargs -0 -n1 -I@ bash -c "echo \"Compressing @\"; gzip @; mv @.gz @;"
|
2022-06-28 06:04:55 +00:00
|
|
|
aws s3 rm --recursive "s3://pyodide-cdn2.iodide.io/dev/debug/"
|
2022-06-28 17:16:23 +00:00
|
|
|
aws s3 sync dist-debug/ "s3://pyodide-cdn2.iodide.io/dev/debug/" --exclude '*.data' --cache-control 'max-age=3600, public' --content-encoding 'gzip' # 1 hour cache
|
|
|
|
aws s3 sync dist-debug/ "s3://pyodide-cdn2.iodide.io/dev/debug/" --exclude '*' --include '*.data' --cache-control 'max-age=3600, public' --content-type 'application/wasm' --content-encoding 'gzip' # 1 hour cache
|
2019-05-31 18:39:52 +00:00
|
|
|
|
2018-06-19 17:36:14 +00:00
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build-and-deploy:
|
|
|
|
jobs:
|
2021-07-24 20:30:54 +00:00
|
|
|
- test-docs:
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
|
|
|
- build-core:
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2022-04-19 00:24:47 +00:00
|
|
|
- build-packages:
|
|
|
|
name: build-packages-no-numpy-dependents
|
|
|
|
packages: "*,no-numpy-dependents"
|
2020-06-28 18:24:40 +00:00
|
|
|
requires:
|
2020-12-11 15:47:47 +00:00
|
|
|
- build-core
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
2022-04-19 00:24:47 +00:00
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./packages
|
|
|
|
- ./dist
|
2021-07-24 01:22:12 +00:00
|
|
|
|
2021-12-05 20:34:09 +00:00
|
|
|
- build-packages:
|
2022-04-19 00:24:47 +00:00
|
|
|
name: build-packages-opencv-python
|
|
|
|
packages: opencv-python
|
2021-12-05 20:34:09 +00:00
|
|
|
requires:
|
|
|
|
- build-packages-no-numpy-dependents
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
2022-04-19 00:24:47 +00:00
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./packages/opencv-python/build
|
|
|
|
- ./packages/opencv-python/dist
|
|
|
|
- ./packages/build-logs/opencv*
|
|
|
|
- ./dist/opencv*
|
|
|
|
|
|
|
|
- build-packages:
|
|
|
|
name: build-packages-numpy-dependents
|
|
|
|
packages: "*,!opencv-python"
|
|
|
|
requires:
|
|
|
|
- build-packages-no-numpy-dependents
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./packages
|
|
|
|
- ./dist
|
|
|
|
|
|
|
|
- build-packages:
|
|
|
|
name: build-packages
|
|
|
|
packages: "*"
|
|
|
|
requires:
|
|
|
|
- build-packages-numpy-dependents
|
|
|
|
- build-packages-opencv-python
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./packages/.artifacts
|
|
|
|
- ./dist
|
2021-12-05 20:34:09 +00:00
|
|
|
|
2021-07-15 16:08:53 +00:00
|
|
|
- test-main:
|
|
|
|
name: test-core-chrome
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=chrome-no-host -k "not webworker" src packages/micropip packages/fpcast-test packages/sharedlib-test-py/ packages/cpp-exceptions-test/
|
2018-06-19 17:36:14 +00:00
|
|
|
requires:
|
2020-12-11 15:47:47 +00:00
|
|
|
- build-core
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-15 16:08:53 +00:00
|
|
|
- test-main:
|
|
|
|
name: test-core-firefox
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=firefox-no-host -k "not webworker" src packages/micropip packages/fpcast-test packages/sharedlib-test-py/ packages/cpp-exceptions-test/
|
2018-08-17 08:29:10 +00:00
|
|
|
requires:
|
2020-12-11 15:47:47 +00:00
|
|
|
- build-core
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-20 08:48:27 +00:00
|
|
|
- test-main:
|
|
|
|
name: test-core-node
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=node-no-host src packages/micropip packages/fpcast-test packages/sharedlib-test-py/ packages/cpp-exceptions-test/
|
2021-07-20 08:48:27 +00:00
|
|
|
requires:
|
|
|
|
- build-core
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2022-09-08 01:43:55 +00:00
|
|
|
- test-main-macos:
|
|
|
|
name: test-core-safari
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=safari-no-host src packages/micropip packages/fpcast-test packages/sharedlib-test-py/ packages/cpp-exceptions-test/
|
2022-09-08 01:43:55 +00:00
|
|
|
requires:
|
|
|
|
- build-core
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-24 01:22:12 +00:00
|
|
|
- test-main:
|
|
|
|
name: test-core-chrome-webworker
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=chrome-no-host src/tests/test_webworker.py
|
2021-07-24 01:22:12 +00:00
|
|
|
requires:
|
|
|
|
- test-core-chrome
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-24 01:22:12 +00:00
|
|
|
- test-main:
|
|
|
|
name: test-core-firefox-webworker
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=firefox-no-host src/tests/test_webworker.py
|
2021-07-24 01:22:12 +00:00
|
|
|
requires:
|
|
|
|
- test-core-firefox
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-15 16:08:53 +00:00
|
|
|
- test-main:
|
2022-07-11 00:52:38 +00:00
|
|
|
name: test-packages-chrome-no-numpy-dependents
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=chrome-no-host packages/*/test*.py
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir: .pytest_cache_chrome
|
|
|
|
requires:
|
|
|
|
- build-packages-no-numpy-dependents
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./.test_cache
|
|
|
|
|
|
|
|
- test-main:
|
|
|
|
name: test-packages-chrome
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=chrome-no-host packages/*/test*.py --skip-passed
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir: .pytest_cache_chrome
|
2020-12-11 15:47:47 +00:00
|
|
|
requires:
|
2022-07-11 00:52:38 +00:00
|
|
|
- test-packages-chrome-no-numpy-dependents
|
2020-12-11 15:47:47 +00:00
|
|
|
- build-packages
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-15 16:08:53 +00:00
|
|
|
- test-main:
|
2022-07-11 00:52:38 +00:00
|
|
|
name: test-packages-firefox-no-numpy-dependents
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=firefox-no-host packages/*/test*.py
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir: .pytest_cache_firefox
|
|
|
|
requires:
|
|
|
|
- build-packages-no-numpy-dependents
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./.test_cache
|
|
|
|
|
|
|
|
- test-main:
|
|
|
|
name: test-packages-firefox
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=firefox-no-host packages/*/test*.py --skip-passed
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir: .pytest_cache_firefox
|
2020-12-11 15:47:47 +00:00
|
|
|
requires:
|
2022-07-11 00:52:38 +00:00
|
|
|
- test-packages-firefox-no-numpy-dependents
|
2020-12-11 15:47:47 +00:00
|
|
|
- build-packages
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-20 08:48:27 +00:00
|
|
|
- test-main:
|
2022-07-11 00:52:38 +00:00
|
|
|
name: test-packages-node-no-numpy-dependents
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=node-no-host packages/*/test*.py
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir: .pytest_cache_node
|
|
|
|
requires:
|
|
|
|
- build-packages-no-numpy-dependents
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./.test_cache
|
|
|
|
|
|
|
|
- test-main:
|
|
|
|
name: test-packages-node
|
2022-09-08 13:39:42 +00:00
|
|
|
test-params: --runtime=node-no-host packages/*/test*.py --skip-passed
|
2022-07-11 00:52:38 +00:00
|
|
|
cache-dir: .pytest_cache_node
|
2021-07-20 08:48:27 +00:00
|
|
|
requires:
|
2022-07-11 00:52:38 +00:00
|
|
|
- test-packages-node-no-numpy-dependents
|
2021-07-20 08:48:27 +00:00
|
|
|
- build-packages
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2022-09-14 00:13:53 +00:00
|
|
|
- test-main-macos:
|
|
|
|
name: test-packages-safari-no-numpy-dependents
|
|
|
|
test-params: --runtime=safari-no-host -k "not webworker" packages/*/test*.py
|
|
|
|
cache-dir: .pytest_cache_safari
|
|
|
|
requires:
|
|
|
|
- build-packages-no-numpy-dependents
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
post-steps:
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ./.test_cache
|
|
|
|
|
|
|
|
- test-main-macos:
|
|
|
|
name: test-packages-safari
|
|
|
|
test-params: --runtime=safari-no-host -k "not webworker" packages/*/test*.py --skip-passed
|
|
|
|
cache-dir: .pytest_cache_safari
|
|
|
|
requires:
|
|
|
|
- test-packages-safari-no-numpy-dependents
|
|
|
|
- build-packages
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-06 08:48:35 +00:00
|
|
|
- test-js:
|
2021-06-01 02:06:56 +00:00
|
|
|
requires:
|
|
|
|
- build-core
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2021-07-09 20:37:28 +00:00
|
|
|
- benchmark-stack-size:
|
|
|
|
requires:
|
|
|
|
- build-core
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2018-10-01 20:57:08 +00:00
|
|
|
- benchmark:
|
|
|
|
requires:
|
2020-12-11 15:47:47 +00:00
|
|
|
- build-packages
|
2021-07-24 20:30:54 +00:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2022-07-10 08:58:39 +00:00
|
|
|
- create-xbuild-env:
|
|
|
|
requires:
|
|
|
|
- build-packages
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2022-09-12 18:18:40 +00:00
|
|
|
- test-cmdline-runner:
|
|
|
|
requires:
|
|
|
|
- build-packages
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2022-06-28 17:16:23 +00:00
|
|
|
- build-pyodide-debug:
|
|
|
|
requires:
|
|
|
|
- build-packages
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
|
2019-05-31 18:39:52 +00:00
|
|
|
- deploy-release:
|
|
|
|
requires:
|
2020-12-11 15:47:47 +00:00
|
|
|
- test-core-firefox
|
|
|
|
- test-packages-firefox
|
2022-06-28 17:16:23 +00:00
|
|
|
- build-pyodide-debug
|
2022-07-10 08:58:39 +00:00
|
|
|
- create-xbuild-env
|
2019-05-31 18:39:52 +00:00
|
|
|
filters:
|
|
|
|
branches:
|
2021-04-19 09:47:06 +00:00
|
|
|
ignore: /.*/
|
2019-05-31 18:39:52 +00:00
|
|
|
tags:
|
2021-03-21 15:32:50 +00:00
|
|
|
only: /^\d+\.\d+\.\w+$/
|
2022-07-15 07:41:44 +00:00
|
|
|
context:
|
|
|
|
- s3-deployment
|
2021-04-26 19:58:05 +00:00
|
|
|
- deploy-dev:
|
2018-08-17 08:29:10 +00:00
|
|
|
requires:
|
2020-12-11 15:47:47 +00:00
|
|
|
- test-core-firefox
|
|
|
|
- test-packages-firefox
|
2022-06-28 17:16:23 +00:00
|
|
|
- build-pyodide-debug
|
2018-06-19 17:36:14 +00:00
|
|
|
filters:
|
2018-11-06 14:20:01 +00:00
|
|
|
branches:
|
2021-04-19 09:37:59 +00:00
|
|
|
only: main
|
2022-07-15 07:41:44 +00:00
|
|
|
context:
|
|
|
|
- s3-deployment
|