Skip to content

Commit

Permalink
Unable to build due to usage of dart:mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelTVMS committed Apr 10, 2023
1 parent 1ef3ceb commit 964abb2
Showing 1 changed file with 47 additions and 1 deletion.
48 changes: 47 additions & 1 deletion .github/workflows/test.yaml → .github/workflows/Main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Test
name: Main

on: [push]

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,3 +45,48 @@ jobs:
# want to change this to 'flutter test'.
- name: Run tests
run: dart test

# build:
# name: Build
# if: startsWith(github.ref, 'refs/tags/')
# needs: [test]
# strategy:
# matrix:
# #os: [ubuntu-latest, windows-latest, macos-latest]
# os: [ubuntu-latest]
# include:
# - os: ubuntu-latest
# target: linux-x64
# binary: brokertotax
# - os: windows-latest
# target: windows-x64
# binary: brokertotax.exe
# - os: macos-latest
# target: macos-x64

# runs-on: ${{ matrix.os }}

# steps:
# - uses: actions/checkout@v3

# - uses: dart-lang/setup-dart@v1

# - name: Cache dependencies
# uses: actions/cache@v3
# with:
# path: ~/.pub-cache
# key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
# restore-keys: |
# ${{ runner.os }}-pub-

# - name: Install dependencies
# run: dart pub get

# - name: Build release
# run: dart compile exe bin/main.dart -o build/main

# - name: Upload release
# uses: actions/upload-artifact@v2
# with:
# name: main-${{ matrix.target }}
# path: build/main

0 comments on commit 964abb2

Please sign in to comment.