You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: build
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'test/github-actions'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build-core:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
subimage: ["core"]
|
|
|
|
uses: ./.github/workflows/build-subimage.yml
|
|
|
|
with:
|
|
|
|
subimage: ${{ matrix.subimage }}
|
|
|
|
secrets: inherit
|
|
|
|
|
|
|
|
build-rest:
|
|
|
|
needs: build-core
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
subimage: ["dinglehopper"]
|
|
|
|
uses: ./.github/workflows/build-subimage.yml
|
|
|
|
with:
|
|
|
|
subimage: ${{ matrix.subimage }}
|
|
|
|
secrets: inherit
|
|
|
|
|
|
|
|
test:
|
|
|
|
needs: build-rest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
-
|
|
|
|
name: Install wrapper
|
|
|
|
run: |
|
|
|
|
apt-get install python3-pip
|
|
|
|
cd wrapper && pip install .
|
|
|
|
-
|
|
|
|
name: Test
|
|
|
|
run: |
|
|
|
|
ocrd --version
|
|
|
|
ocrd-dinglehopper --version
|