Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2021-05-20 08:41:59 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9fd9639dcbc0a66f8b6d344f7818bc6c308f0c1f
9fd9639d
1 parent
ead69d81
Add automated Windows build
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
.github/workflows/dart.yaml
printing/windows/CMakeLists.txt
.github/workflows/dart.yaml
View file @
9fd9639
...
...
@@ -37,3 +37,18 @@ jobs:
run
:
cd printing/example; flutter build -v apk
-
name
:
Build demo for Web
run
:
cd demo; flutter build -v web
windows
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
subosito/flutter-action@v1
with
:
channel
:
stable
-
name
:
Enable Windows for flutter
run
:
flutter config --enable-windows-desktop
-
name
:
Prepare build
run
:
cd printing/example; flutter create -t app --no-overwrite --org net.nfet --project-name example .
-
name
:
Build example for Windows
run
:
cd printing/example; flutter build -v windows
...
...
printing/windows/CMakeLists.txt
View file @
9fd9639
...
...
@@ -17,7 +17,7 @@ set(PROJECT_NAME "printing")
project
(
${
PROJECT_NAME
}
LANGUAGES CXX
)
set
(
ARCH
"x64"
)
set
(
PDFIUM_VERSION
"4
475
"
)
set
(
PDFIUM_VERSION
"4
503
"
)
if
(
${
PDFIUM_VERSION
}
STREQUAL
"latest"
)
set
(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-windows-
${
ARCH
}
.zip"
)
...
...
Please
register
or
login
to post a comment