Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/OCV-Nightly-docs-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
branch: ['3.4', '4.x', '5.x']
container:
image: quay.io/opencv-ci/opencv-docs-js-20.04:20220728
options: --user ci
options: --user root
steps:
- name: Define proper HOME path
timeout-minutes: 60
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Clone opencv_contrib
timeout-minutes: 60
run: git clone --single-branch --branch ${{ matrix.branch }} https://github.com/opencv/opencv_contrib.git $HOME/opencv_contrib
- name: Build js
- name: Build js (default)
timeout-minutes: 60
run: |
cd $HOME/build
Expand All @@ -56,6 +56,23 @@ jobs:
cd $HOME/build/js/bin
npm install
node tests.js
- name: Build js (threads)
timeout-minutes: 60
run: |
cd $HOME/build
emcmake python ../opencv/platforms/js/build_js.py js_threads --build_wasm --build_test --threads
- name: Run js tests (threads)
timeout-minutes: 60
if: ${{ always() && matrix.branch == '4.x' }}
run: |
apt-get update
apt-get install -y libx11-xcb1 libxcomposite1 libasound2 libatk1.0-0 libatk-bridge2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6

cd $HOME/build/js_threads/bin
chmod 777 -R .
npm install
npm install --no-save [email protected]
node run_puppeteer.js
- name: Configure OpenCV doxygen
timeout-minutes: 60
run: |
Expand Down
Loading