Skip to content

Commit

Permalink
Build 0.89.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Schwartz committed Jun 28, 2020
0 parents commit a4f66fc
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Package For Windows

on:
push:
tags:
- 'v*'

jobs:
package:
name: Package
runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup Miniconda
uses: goanpeca/setup-miniconda@v1.6.0
- name: Install Poppler
shell: bash -l {0}
run: conda install -c conda-forge poppler -y
- name: Run Package Script
shell: bash -l {0}
run: ./package.sh
env:
POPPLER_VERSION: "0.89.0"
PKGS_PATH_DIR: /c/Users/runneradmin/conda_pkgs_dir
- name: Zip Release
run: Compress-Archive D:\a\poppler-windows\poppler-windows\poppler* release.zip
shell: pwsh
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: D:\a\poppler-windows\poppler-windows\release.zip
asset_name: release.zip
asset_content_type: application/zip
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Poppler Packaged for Windows

The latest Poppler prebuilt-binaries packaged with dependencies. Built with the help of conda-forge.

## Download

You can download the latest build from [releases](https://github.com/oschwartz10612/poppler-windows/releases/).

## Out of Date?

Create a new pull request and bump POPPLER_VERSION to the latest. Make sure to tag the release incrementing it properly.
18 changes: 18 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mkdir "poppler-$POPPLER_VERSION"
cd "poppler-$POPPLER_VERSION"

cp -a $PKGS_PATH_DIR/poppler-$POPPLER_VERSION*/Library/. .
cp $PKGS_PATH_DIR/freetype*/Library/bin/freetype.dll ./bin/
cp $PKGS_PATH_DIR/zlib*/Library/bin/zlib.dll ./bin/
cp -a $PKGS_PATH_DIR/zstd*/Library/bin/. ./bin/
cp $PKGS_PATH_DIR/libtiff*/Library/bin/tiff.dll ./bin/
cp $PKGS_PATH_DIR/libtiff*/Library/bin/libtiff.dll ./bin/
cp $PKGS_PATH_DIR/libssh2*/Library/bin/libssh2.dll ./bin/
cp $PKGS_PATH_DIR/libpng*/Library/bin/libpng16.dll ./bin/
cp $PKGS_PATH_DIR/libcurl*/Library/bin/libcurl.dll ./bin/
cp $PKGS_PATH_DIR/openssl*/Library/bin/libcrypto-1_1-x64.dll ./bin/
cp $PKGS_PATH_DIR/openjpeg*/Library/bin/openjp2.dll ./bin/
cp $PKGS_PATH_DIR/xz*/Library/bin/liblzma.dll ./bin/

ls ./bin/

0 comments on commit a4f66fc

Please sign in to comment.