Skip to content

feature: support physical android devices (#5) #30

feature: support physical android devices (#5)

feature: support physical android devices (#5) #30

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- "art/**"
- "install.sh"
pull_request:
branches: [main]
paths-ignore:
- "**.md"
- "art/**"
- "install.sh"
jobs:
analyze:
name: Analyze & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Analyze
run: dart analyze --fatal-infos
build:
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact: simutil-linux-x64
- os: macos-latest
artifact: simutil-macos-x64
- os: macos-14
artifact: simutil-macos-arm64
- os: windows-latest
artifact: simutil-windows-x64
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Build executable
run: dart compile exe bin/simutil.dart -o ${{ matrix.artifact }}${{ matrix.os == 'windows-latest' && '.exe' || '' }}
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.artifact }}${{ matrix.os == 'windows-latest' && '.exe' || '' }}