Skip to content
Snippets Groups Projects
.gitlab-ci.yml 902 B
Newer Older
image: "debian"

build:
    stage: build
    before_script:
        - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
        - apt update -qq
rahix's avatar
rahix committed
        - apt install -y -qq gcc-arm-none-eabi python3-pip git
        - apt install -y -qq -t stretch-backports meson
schneider's avatar
schneider committed
        - pip3 install crc16
rahix's avatar
rahix committed
        - ./bootstrap.sh
schneider's avatar
schneider committed
        - ninja -C build/
rahix's avatar
rahix committed

pages:
    stage: deploy
    image: ubuntu:bionic
    before_script:
        - apt update -qq
        - apt install -y -qq python3-pip git clang libclang-dev llvm
        - pip3 install sphinx sphinx_rtd_theme clang
    script:
        - export LD_LIBRARY_PATH=$(llvm-config --libdir)
        - echo $LD_LIBRARY_PATH
        - sphinx-build -b html Documentation/ Documentation/output/
        - mv Documentation/output/ public/
    artifacts:
        paths:
            - public/
    only:
        - master