Skip to content

Commit 63cefac

Browse files
Artifact ~/.conan2 directory between build and emulator jobs
1 parent 76a37c6 commit 63cefac

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,17 @@ jobs:
8888
path: conangraph.html
8989
if-no-files-found: error
9090

91+
- run: |
92+
du -hs ~/.conan2
93+
du -hs ~/.conan2/p
94+
- uses: actions/upload-artifact@v4
95+
with:
96+
name: dotconan2
97+
path: ~/.conan2
98+
if-no-files-found: error
99+
91100
emulator:
92-
if: "!contains(github.event.head_commit.message, '[SkipCI]')"
101+
needs: build
93102
runs-on: ubuntu-22.04
94103
name: android-${{ matrix.emulator.api_level }} on ${{ matrix.emulator.arch }} (${{ matrix.emulator.api_type_target }})
95104
strategy:
@@ -136,12 +145,12 @@ jobs:
136145
python-version: 3.12
137146
- run: pip install --upgrade pip conan adbPullAs selenium Pillow
138147

139-
- run: |
140-
conan config install .github/conan
141-
conan profile list
142-
conan profile show
148+
- uses: actions/download-artifact@v4
149+
with:
150+
name: dotconan2
151+
path: ~/.conan2
143152

144-
- run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
153+
- run: ls -lh ~/.conan2
145154

146155
- run: ./gradlew assembleDebug
147156
- name: Enable KVM group perms

0 commit comments

Comments
 (0)