Skip to content

Commit

Permalink
Updated build files
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Nov 18, 2023
1 parent 0660a6e commit 924402f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
distribution: 'temurin'
- name: checkout
uses: actions/checkout@v2
- run: ./gradlew clean assembleDevFullRelease
- run: ./gradlew clean assembleOoniDevFullRelease
- name: uploads dev apk
uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
strategy:
matrix:
version:
- "StableFullRelease"
- "StableFdroidRelease"
- "OoniStableFullRelease"
- "OoniStableFdroidRelease"
steps:
- uses: actions/setup-java@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/emulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
arch: x86_64
profile: Nexus 6
ram-size: 2048M
script: ./gradlew connectedStableFullDebugAndroidTest
script: ./gradlew connectedOoniStableFullDebugAndroidTest
- name: uploads test results
uses: actions/upload-artifact@v2
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
distribution: 'temurin'
- name: checkout
uses: actions/checkout@v2
- run: ./gradlew testStableFullRelease
- run: ./gradlew testOoniStableFullRelease
- name: uploads test results
uses: actions/upload-artifact@v2
if: failure()
Expand Down
11 changes: 7 additions & 4 deletions shared-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ android {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
flavorDimensions = ['testing', 'license']
flavorDimensions = ['provider', 'testing', 'license']
productFlavors {
ooni {
dimension 'provider'
}
dw {
dimension 'provider'
}
stable {
dimension 'testing'
}
Expand All @@ -36,9 +42,6 @@ android {
full {
dimension 'license'
}
dw {
dimension 'testing'
}
}
}

Expand Down

0 comments on commit 924402f

Please sign in to comment.