Skip to content

Commit

Permalink
feature(ci): add support for linux and upgrade macos image
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed Jan 22, 2024
1 parent 3a09eaf commit f23a091
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test Linux"
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: test install-sdk
Expand All @@ -15,3 +15,19 @@ jobs:
name: install sdk
- run: sdkmanager platform-tools
- run: adb devices
- 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
- uses: ./emulator-run-cmd
with:
api: 25
tag: default
abi: x86
cmd: adb shell getprop
bootTimeout: 500
- uses: actions/upload-artifact@v1
with:
name: logcat
path: artifacts/logcat.log
2 changes: 1 addition & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test macOS"
on: [push, pull_request]
jobs:
test:
runs-on: macOS-10.15
runs-on: macOS-12
steps:
- uses: actions/checkout@v1
- name: test install-sdk
Expand Down

0 comments on commit f23a091

Please sign in to comment.