Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Jan 4, 2024
1 parent 0fcc685 commit d507291
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ jobs:
- name: Download Leptonica Source
run: |
wget https://github.com/DanBloomberg/leptonica/archive/refs/tags/$LEPTONICA_VERSION.tar.gz
tar -xzf $LEPTONICA_VERSION.tar.gz -C leptonica-$LEPTONICA_VERSION --strip-components=1
- name: Download Tesseract Source
run: |
wget https://github.com/tesseract-ocr/tesseract/archive/refs/tags/${{ steps.get-version.outputs.version }}.tar.gz
tar -xzf ${{ steps.get-version.outputs.version }}.tar.gz -C tesseract-${{ steps.get-version.outputs.version }} --strip-components=1
- name: "Run build-macos.sh"
run: "./build-macos.sh ${{ matrix.config }} ${{ steps.get-version.outputs.version }} ${{ steps.get-version.outputs.leptonica_version }}"
Expand Down Expand Up @@ -91,10 +93,12 @@ jobs:
- name: Download Leptonica Source
run: |
wget https://github.com/DanBloomberg/leptonica/archive/refs/tags/$LEPTONICA_VERSION.tar.gz
tar -xzf $LEPTONICA_VERSION.tar.gz -C leptonica-$LEPTONICA_VERSION --strip-components=1
- name: Download Tesseract Source
run: |
wget https://github.com/tesseract-ocr/tesseract/archive/refs/tags/${{ steps.get-version.outputs.version }}.tar.gz
tar -xzf ${{ steps.get-version.outputs.version }}.tar.gz -C tesseract-${{ steps.get-version.outputs.version }} --strip-components=1
- name: "Run build-linux.sh"
run: "./build-linux.sh ${{ matrix.config }} ${{ steps.get-version.outputs.version }} ${{ steps.get-version.outputs.leptonica_version }}"
Expand Down Expand Up @@ -131,6 +135,16 @@ jobs:

- uses: "actions/checkout@v4"

- name: Download Leptonica Source
run: |
wget https://github.com/DanBloomberg/leptonica/archive/refs/tags/$LEPTONICA_VERSION.tar.gz
tar -xzf $LEPTONICA_VERSION.tar.gz -C leptonica-$LEPTONICA_VERSION --strip-components=1
- name: Download Tesseract Source
run: |
wget https://github.com/tesseract-ocr/tesseract/archive/refs/tags/${{ steps.get-version.outputs.version }}.tar.gz
tar -xzf ${{ steps.get-version.outputs.version }}.tar.gz -C tesseract-${{ steps.get-version.outputs.version }} --strip-components=1
- name: "Run Build-Windows.ps1"
run: "./Build-Windows.ps1 -Configuration ${{ matrix.config }} -TesseractVersion ${{ steps.get-version.outputs.version }} -LeptonicaVersion ${{ steps.get-version.outputs.leptonica_version }}"

Expand Down

0 comments on commit d507291

Please sign in to comment.