Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
natario1 committed Jun 3, 2024
1 parent c35924d commit de1a328
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 10 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- main
pull_request:
jobs:
BASE_CHECKS:
name: Base Checks
CHECK_DEPLOY:
name: Deploy locally
runs-on: ubuntu-latest
env:
GHUB_USER: ${{ secrets.GHUB_USER }}
Expand All @@ -22,16 +22,28 @@ jobs:
java-version: 17
distribution: temurin
cache: gradle

- name: Check local deployment
run: ./gradlew build deployLocal

CHECK_TESTS:
name: Run emulator tests
runs-on: ubuntu-latest
env:
GHUB_USER: ${{ secrets.GHUB_USER }}
GHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.GHUB_PERSONAL_ACCESS_TOKEN }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
release:
types: [published]
jobs:
SONATYPE_UPLOAD:
DEPLOY:
name: Sonatype Upload
runs-on: ubuntu-latest
env:
Expand Down
24 changes: 24 additions & 0 deletions .idea/runConfigurations/deployGithub.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions .idea/runConfigurations/deploySonatype.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
kotlin.mpp.stability.nowarn=true
org.gradle.caching=true
org.gradle.caching.debug=false
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

kotlin.mpp.stability.nowarn=true
kotlin.incremental.useClasspathSnapshot=true
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.import.enableKgpDependencyResolution=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

android.useAndroidX=true

knee.version=1.0.0-rc1
knee.group=io.deepmedia.tools.knee
7 changes: 5 additions & 2 deletions tests/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
kotlin.mpp.stability.nowarn=true
org.gradle.caching=true
org.gradle.caching.debug=false
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

kotlin.mpp.stability.nowarn=true
kotlin.incremental.useClasspathSnapshot=true
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.import.enableKgpDependencyResolution=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m

android.useAndroidX=true

io.deepmedia.knee.verboseLogs=true
io.deepmedia.knee.verboseSources=true

0 comments on commit de1a328

Please sign in to comment.