mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-13 05:31:14 +00:00
Add OCR build to Windows action
Adds a (likely non-working) build stage for building with OCR to the Windows GitHub actions, so we can assure that Windows keeps building with OCR just fine.
This commit is contained in:
parent
1534d81ae7
commit
18484d555f
25
.github/workflows/build_windows.yml
vendored
25
.github/workflows/build_windows.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
- 'windows/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build_non_ocr_release:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
@ -39,3 +39,26 @@ jobs:
|
||||
with:
|
||||
name: CCExtractor Windows Release_or_Debug build
|
||||
path: ./windows/artifacts
|
||||
build_ocr_hardsubx_release:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v1
|
||||
- name: Setup MSBuild.exe
|
||||
uses: warrenbuckley/Setup-MSBuild@v1
|
||||
- name: build Release
|
||||
run: msbuild ccextractor.sln /p:Configuration=Release-Full
|
||||
working-directory: ./windows
|
||||
- name: build Debug
|
||||
run: msbuild ccextractor.sln /p:Configuration=Debug-Full
|
||||
working-directory: ./windows
|
||||
- name: Prepare artifacts
|
||||
run: mkdir ./windows/artifacts
|
||||
- name: Copy release artifact
|
||||
run: cp ./windows/Release/ccextractorwin.exe ./windows/artifacts/; cp ./windows/Release/ccextractorgui.exe ./windows/artifacts/
|
||||
- name: Copy debug artifact
|
||||
run: cp ./windows/Debug/ccextractorwin.exe ./windows/artifacts/ccextractorwin_debug.exe; cp ./windows/Debug/ccextractorgui.exe ./windows/artifacts/ccextractorgui_debug.exe
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: CCExtractor OCR and HardSubX Windows Release_or_Debug build
|
||||
path: ./windows/artifacts
|
||||
|
Loading…
Reference in New Issue
Block a user