Skip to content

Commit

Permalink
[CI] conan install deps before running gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jun 22, 2024
1 parent 5798410 commit 3b02d5f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ jobs:
- run: python scripts/conan_export_all_packages.py
working-directory: conan-odr-index

- run: conan install . --output-folder=build/conan/armv7 --profile:host=android-21-armv7 --build=missing
working-directory: pdf2htmlEX
- run: conan install . --output-folder=build/conan/armv8 --profile:host=android-21-armv8 --build=missing
working-directory: pdf2htmlEX
- run: conan install . --output-folder=build/conan/x86 --profile:host=android-21-x86 --build=missing
working-directory: pdf2htmlEX
- run: conan install . --output-folder=build/conan/x86_64 --profile:host=android-21-x86_64 --build=missing
working-directory: pdf2htmlEX

- run: ./gradlew lintRelease publishToMavenLocal

- uses: actions/upload-artifact@v4
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/testInner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ jobs:
- run: python scripts/conan_export_all_packages.py
working-directory: conan-odr-index

- run: ./gradlew assemble
- run: conan install . --output-folder=build/conan/armv7 --profile:host=android-21-armv7 --build=missing
working-directory: pdf2htmlEX
- run: conan install . --output-folder=build/conan/armv8 --profile:host=android-21-armv8 --build=missing
working-directory: pdf2htmlEX
- run: conan install . --output-folder=build/conan/x86 --profile:host=android-21-x86 --build=missing
working-directory: pdf2htmlEX
- run: conan install . --output-folder=build/conan/x86_64 --profile:host=android-21-x86_64 --build=missing
working-directory: pdf2htmlEX

- name: Enable KVM group perms
run: |
Expand Down

0 comments on commit 3b02d5f

Please sign in to comment.