mirror of
https://github.com/qurator-spk/sbb_binarization.git
synced 2025-07-25 18:59:52 +02:00
Update config.yml
Update CI to use Python 3.7 / 3.8 as 3.6 is no longer supported
This commit is contained in:
parent
aeb6804b7d
commit
352f044b6d
1 changed files with 19 additions and 19 deletions
|
@ -2,23 +2,6 @@ version: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-python36:
|
|
||||||
docker:
|
|
||||||
- image: python:3.6
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
|
|
||||||
- run: make install
|
|
||||||
- run: make model
|
|
||||||
- save_cache:
|
|
||||||
key: ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
|
|
||||||
paths:
|
|
||||||
ocrd-resources
|
|
||||||
- run: git submodule update --init
|
|
||||||
- run: make test
|
|
||||||
|
|
||||||
build-python37:
|
build-python37:
|
||||||
docker:
|
docker:
|
||||||
- image: python:3.7
|
- image: python:3.7
|
||||||
|
@ -36,10 +19,27 @@ jobs:
|
||||||
- run: git submodule update --init
|
- run: git submodule update --init
|
||||||
- run: make test
|
- run: make test
|
||||||
|
|
||||||
|
build-python38:
|
||||||
|
docker:
|
||||||
|
- image: python:3.8
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
|
||||||
|
- run: make install
|
||||||
|
- run: make model
|
||||||
|
- save_cache:
|
||||||
|
key: ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
|
||||||
|
paths:
|
||||||
|
ocrd-resources
|
||||||
|
- run: git submodule update --init
|
||||||
|
- run: make test
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- build-python36
|
|
||||||
- build-python37
|
- build-python37
|
||||||
#- build-python38 # no tensorflow for python 3.8
|
- build-python38
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue