Skip to content

feature(ci): add support for linux and upgrade macos image #174

feature(ci): add support for linux and upgrade macos image

feature(ci): add support for linux and upgrade macos image #174

Workflow file for this run

name: "Test Linux"
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: test install-sdk
run: npm config delete prefix && source ~/.nvm/nvm.sh && nvm install v16.15.0 && npm install && npm ci && npm run build
working-directory: install-sdk
- name: test emulator-run-cmd
run: npm config delete prefix && source ~/.nvm/nvm.sh && nvm install v16.15.0 && npm install && npm ci && npm run build
working-directory: emulator-run-cmd
- uses: ./install-sdk
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