Skip to content
Snippets Groups Projects
.gitlab-ci.yml 566 B
Newer Older
image: python:3.8-slim-buster
dilawar's avatar
dilawar committed

stages:
  - build
  - deploy

dilawar's avatar
dilawar committed
before_script:
  - apt update && apt install -y make

dilawar's avatar
dilawar committed
build:
  stage: build
  tags:
    - linux
  script:
dilawar's avatar
dilawar committed
    - python3 -m pip install poetry --upgrade
dilawar's avatar
dilawar committed
    - make ci

deploy:
  stage: deploy
  tags:
    - linux
  script:
dilawar's avatar
dilawar committed
    - python3 -m pip install poetry --upgrade
dilawar's avatar
dilawar committed
    - bash .ci/release.sh
dilawar's avatar
dilawar committed

build:windows:
  stage: build
  tags:
    - windows
  before_script:
    - choco.exe install -y python
dilawar's avatar
dilawar committed
  script:
    - python -m pip install .
    - python -m bitia --help
    - python -m bitia run "ls -ltrh /"