Skip to content

Commit

Permalink
chore(): build.yml tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawqss committed Sep 16, 2024
1 parent c056667 commit edbfaaa
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,20 @@ on:
branches:
- master
jobs:
build-android:
runs-on: ubuntu-latest
build:
runs-on : macos-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: Enable KVM
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
- name: Checkout code
uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
api-level: 29
script: ./gradlew connectedCheck
distribution: adopt
java-version: 17
- name: Grant execute permissions for gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run : ./gradlew build
build-ios:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit edbfaaa

Please sign in to comment.