Skip to content

Commit

Permalink
Merge pull request #4 from GengGode/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
GengGode authored Jan 22, 2024
2 parents 4e66d34 + 251575c commit 73015da
Show file tree
Hide file tree
Showing 296 changed files with 17 additions and 147,506 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CMake

on:
push:
branches: [ "main" ]
branches: [ "master", "dev", "dev-*" ]
pull_request:
branches: [ "main" ]
branches: [ "master", "dev" ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down Expand Up @@ -49,18 +49,31 @@ jobs:
echo "dll version: $version"
echo "_version=$version" >> $env:GITHUB_OUTPUT
- name: Zip the Install Directory
uses: montudor/[email protected]
with:
args: -r -9 -y
files: ${{github.workspace}}/build/install/*
output: ${{github.workspace}}/build/libocr-${{ steps.get_version.outputs._version }}.zip

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: libocr
path: ${{github.workspace}}/build/install/*
path: ${{github.workspace}}/build/libocr-${{ steps.get_version.outputs._version }}.zip

release:
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
steps:

- name: Download a Build Artifact
uses: actions/download-artifact@v2
with:
name: libocr
path: ${{github.workspace}}/build

- name: Create Release
id: create_release
Expand All @@ -82,5 +95,5 @@ jobs:
with:
asset_name: libocr-${{ env.Version }}.zip
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{github.workspace}}/build/install/*
asset_path: ${{github.workspace}}/build/libocr-${{ env.Version }}.zip
asset_content_type: application/x-msdownload
19 changes: 0 additions & 19 deletions 3rdparty/include/onnxruntime/core/common/basic_types.h

This file was deleted.

58 changes: 0 additions & 58 deletions 3rdparty/include/onnxruntime/core/common/code_location.h

This file was deleted.

Loading

0 comments on commit 73015da

Please sign in to comment.