diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 1662d97..7115f3c 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -37,4 +37,4 @@ jobs: dart pub get - run: | cd test - dart run test \ No newline at end of file + dart run test diff --git a/README.md b/README.md index 7be8be2..f005c7c 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,36 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/passsy/flutter_wrapper/mas ./flutterw run ``` +### Using flutterw on CI + +Here is an example of using flutterw on a CI server. + +```bash +jobs: + linux: + runs-on: ubuntu-latest + + container: + # Use container with pre-installed Flutter dependencies like unzip, libglu1-mesa + image: passsy/flutterw:base-0.4.1 + + steps: + - uses: actions/checkout@v2.4.0 + - run: ./flutterw doctor -v + - run: ./flutterw pub get + - run: ./flutterw test + - run: ./flutterw analyze --fatal-infos --fatal-warnings . + + macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2.4.0 + - run: ./flutterw doctor -v + - run: ./flutterw pub get + - run: ./flutterw test + - run: ./flutterw analyze --fatal-infos --fatal-warnings . +``` + ## License ```