File: .gitlab-ci.yml

package info (click to toggle)
olm 3.2.16%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,212 kB
  • sloc: cpp: 15,245; ansic: 10,894; java: 3,244; objc: 2,291; javascript: 1,882; python: 1,839; makefile: 437; sh: 245; asm: 7; xml: 1
file content (29 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
default:
  image: docker.io/emscripten/emsdk:latest

stages:
  - build
  - test

build:js:
  stage: build
  script:
    - ln -sf $(which python3) /usr/local/bin/python
    - make js
  artifacts:
    paths:
      - build/javascript
      - javascript/olm.js
      - javascript/olm.wasm
      - javascript/olm_legacy.js
      - javascript/index.d.ts
      - javascript/exported_functions.json

test:js:
  stage: test
  needs:
    - build:js
  script:
    - pushd javascript
    - npm i
    - npm run test