|
11 | 11 | runs-on: ubuntu-latest
|
12 | 12 |
|
13 | 13 | steps:
|
14 |
| - - uses: actions/checkout@v2 |
| 14 | + - uses: actions/checkout@v3 |
15 | 15 | - uses: subosito/flutter-action@v2
|
16 | 16 | with:
|
17 | 17 | channel: stable
|
|
44 | 44 | runs-on: windows-latest
|
45 | 45 |
|
46 | 46 | steps:
|
47 |
| - - uses: actions/checkout@v2 |
| 47 | + - uses: actions/checkout@v3 |
48 | 48 | - uses: subosito/flutter-action@v2
|
49 | 49 | with:
|
50 | 50 | channel: stable
|
|
59 | 59 | runs-on: macos-12
|
60 | 60 |
|
61 | 61 | steps:
|
62 |
| - - uses: actions/checkout@v2 |
| 62 | + - uses: actions/checkout@v3 |
63 | 63 | - uses: subosito/flutter-action@v2
|
64 | 64 | with:
|
65 | 65 | channel: stable
|
|
72 | 72 | run: cd printing/example; flutter build -v macos
|
73 | 73 | # - name: Build example for iOS
|
74 | 74 | # run: cd printing/example; flutter build -v ios
|
| 75 | + |
| 76 | + linux-dev: |
| 77 | + runs-on: ubuntu-latest |
| 78 | + |
| 79 | + steps: |
| 80 | + - uses: actions/checkout@v3 |
| 81 | + - uses: subosito/flutter-action@v2 |
| 82 | + with: |
| 83 | + channel: master |
| 84 | + - name: Enable Linux for flutter |
| 85 | + run: flutter config --enable-linux-desktop |
| 86 | + - name: Update repo |
| 87 | + run: sudo apt update |
| 88 | + - name: Install utils |
| 89 | + run: sudo apt install poppler-utils imagemagick clang cmake ninja-build pkg-config libgtk-3-dev |
| 90 | + - name: Run analysis |
| 91 | + run: make analyze |
| 92 | + - name: Run tests |
| 93 | + run: make test |
| 94 | + - name: Run readme tests |
| 95 | + run: make test-readme |
| 96 | + - name: Verify that nothing changed |
| 97 | + run: test -z "$(git status --porcelain)" |
| 98 | + - name: Push to codecov |
| 99 | + run: bash <(curl -s https://codecov.io/bash) |
| 100 | + - name: Prepare build |
| 101 | + run: cd printing/example; flutter create -t app --no-overwrite --org net.nfet --project-name example . |
| 102 | + - name: Build example for Linux |
| 103 | + run: cd printing/example; flutter build -v linux |
| 104 | + - name: Build example for Android |
| 105 | + run: cd printing/example; flutter build -v apk |
| 106 | + - name: Build demo for Web |
| 107 | + run: cd demo; flutter build -v web |
| 108 | + |
| 109 | + windows-dev: |
| 110 | + runs-on: windows-latest |
| 111 | + |
| 112 | + steps: |
| 113 | + - uses: actions/checkout@v3 |
| 114 | + - uses: subosito/flutter-action@v2 |
| 115 | + with: |
| 116 | + channel: master |
| 117 | + - name: Enable Windows for flutter |
| 118 | + run: flutter config --enable-windows-desktop |
| 119 | + - name: Prepare build |
| 120 | + run: cd printing/example; flutter create -t app --no-overwrite --org net.nfet --project-name example . |
| 121 | + - name: Build example for Windows |
| 122 | + run: cd printing/example; flutter build -v windows |
| 123 | + |
| 124 | + macos-dev: |
| 125 | + runs-on: macos-12 |
| 126 | + |
| 127 | + steps: |
| 128 | + - uses: actions/checkout@v3 |
| 129 | + - uses: subosito/flutter-action@v2 |
| 130 | + with: |
| 131 | + channel: master |
| 132 | + architecture: x64 |
| 133 | + - name: Enable macOS for flutter |
| 134 | + run: flutter config --enable-macos-desktop |
| 135 | + - name: Prepare build |
| 136 | + run: cd printing/example; flutter create -t app --no-overwrite --org net.nfet --project-name example . |
| 137 | + - name: Build example for macOS |
| 138 | + run: cd printing/example; flutter build -v macos |
| 139 | + # - name: Build example for iOS |
| 140 | + # run: cd printing/example; flutter build -v ios |
0 commit comments