-
Notifications
You must be signed in to change notification settings - Fork 9
50 lines (42 loc) · 1.28 KB
/
build_app_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Test windows build
on:
pull_request:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os-target.os }}
strategy:
matrix:
os-target:
- os: windows-latest
target: x86_64-pc-windows-msvc
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Conda (windows)
if: matrix.os-target.os == 'windows-latest'
uses: s-weigand/setup-conda@v1
with:
update-conda: true
activate-conda: false
python-version: "3.11"
- name: Install pdftotext dependencies (windows)
if: matrix.os-target.os == 'windows-latest'
run: |
conda --version
conda search ocrmypdf --info
conda install -c conda-forge poppler ocrmypdf=14.2.0
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: ${{ matrix.os-target.target }}
- name: Install Statement Sensei dependencies (windows)
if: matrix.os-target.os == 'windows-latest'
uses: ./.github/actions/setup-python-poetry
with:
python-version: "3.11"
poetry-version: "1.8.3"
poetry-install-args: --with main --with build --without dev --extras ocrmypdf