mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Update dailyunittest.yml
This commit is contained in:
parent
d3be2edfed
commit
ad321d8184
18
.github/workflows/dailyunittest.yml
vendored
18
.github/workflows/dailyunittest.yml
vendored
@ -1,9 +1,9 @@
|
|||||||
name: dailyunittest
|
name: dailyunittest
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
#push:
|
||||||
schedule:
|
schedule:
|
||||||
# every day
|
- cron: 0 0 * * *
|
||||||
- cron: 8 0 * * *
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-linux:
|
test-linux:
|
||||||
@ -13,8 +13,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
compiler: [ g++, clang++ ]
|
compiler: [ g++, clang++ ]
|
||||||
os: [ ubuntu-18.04, ubuntu-20.04 ]
|
os: [ ubuntu-18.04, ubuntu-20.04 ]
|
||||||
exclude:
|
|
||||||
- { compiler: clang++, os: ubuntu-18.04 } # LSTMTrainerTest.DeterminismTest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -32,7 +30,7 @@ jobs:
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: ./configure '--disable-shared' 'CXX=${{ matrix.compiler }}' 'CXXFLAGS=-g -O2'
|
run: ./configure '--disable-shared' 'CXX=${{ matrix.compiler }}' 'CXXFLAGS=-g -O2 -fsanitize=address,undefined'
|
||||||
|
|
||||||
- name: Make and Install Tesseract and Training Tools
|
- name: Make and Install Tesseract and Training Tools
|
||||||
run: |
|
run: |
|
||||||
@ -85,11 +83,11 @@ jobs:
|
|||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install cabextract abseil
|
|
||||||
brew install automake autoconf-archive
|
brew install automake autoconf-archive
|
||||||
brew install libarchive
|
brew install libarchive
|
||||||
brew install leptonica
|
brew install leptonica
|
||||||
brew install cairo pango
|
brew install cairo pango
|
||||||
|
brew install cabextract abseil
|
||||||
|
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
@ -140,7 +138,7 @@ jobs:
|
|||||||
cat unittest/test-suite.log
|
cat unittest/test-suite.log
|
||||||
if: always()
|
if: always()
|
||||||
|
|
||||||
test-macports:
|
build-macports:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -159,14 +157,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo port install autoconf autoconf-archive \
|
sudo port install \
|
||||||
|
autoconf autoconf-archive \
|
||||||
automake \
|
automake \
|
||||||
libtool \
|
libtool \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
leptonica
|
leptonica
|
||||||
sudo port install cabextract abseil
|
|
||||||
sudo port install cairo pango
|
sudo port install cairo pango
|
||||||
sudo port install icu +devel
|
sudo port install icu +devel
|
||||||
|
sudo port install cabextract abseil
|
||||||
|
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
@ -219,4 +218,3 @@ jobs:
|
|||||||
# cat unittest/test-suite.log
|
# cat unittest/test-suite.log
|
||||||
if: always()
|
if: always()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user