Skip to content

binary compilation

binary compilation #5

Workflow file for this run

name: CI
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
ckeck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze
# No tests to run yet
# - name: Run tests
# run: dart test
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Build Linux binary
run: dart compile exe bin/raygun_cli.dart -o raygun-cli
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Build MacOS binary
run: dart compile exe bin/raygun_cli.dart -o raygun-cli
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Build MacOS binary
run: dart compile exe bin/raygun_cli.dart -o raygun-cli.exe