|
93 | 93 | run: | |
94 | 94 | lime build NyanCat hl -release -verbose -nocolor |
95 | 95 | lime build SimpleSWFLayout hl -release -verbose -nocolor |
| 96 | +
|
| 97 | + samples-openfl-develop: |
| 98 | + needs: package-haxelib |
| 99 | + strategy: |
| 100 | + matrix: |
| 101 | + haxe-version: [4.0.5, 4.1.5, 4.2.5, 4.3.6] |
| 102 | + runs-on: ubuntu-latest |
| 103 | + steps: |
| 104 | + |
| 105 | + - uses: krdlab/setup-haxe@v1 |
| 106 | + with: |
| 107 | + haxe-version: ${{ matrix.haxe-version }} |
| 108 | + |
| 109 | + - name: Set HAXEPATH |
| 110 | + run: | |
| 111 | + echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV |
| 112 | +
|
| 113 | + - uses: actions/download-artifact@v4 |
| 114 | + with: |
| 115 | + name: swf-haxelib |
| 116 | + path: swf-haxelib |
| 117 | + |
| 118 | + - name: Install Haxe dependencies |
| 119 | + run: | |
| 120 | + haxelib install lime --quiet |
| 121 | + haxelib git openfl https://github.com/openfl/openfl --quiet |
| 122 | + haxelib install layout --quiet |
| 123 | + haxelib run openfl setup -alias -y |
| 124 | + haxelib git openfl-samples https://github.com/openfl/openfl-samples --quiet |
| 125 | + haxelib dev swf swf-haxelib |
| 126 | +
|
| 127 | + - name: Create OpenFL samples |
| 128 | + run: | |
| 129 | + openfl create NyanCat -verbose -nocolor |
| 130 | + openfl create SimpleSWFLayout -verbose -nocolor |
| 131 | +
|
| 132 | + - name: Build Neko samples |
| 133 | + run: | |
| 134 | + lime build NyanCat html5 -release -verbose -nocolor |
| 135 | + lime build SimpleSWFLayout html5 -release -verbose -nocolor |
| 136 | +
|
| 137 | + - name: Build Neko samples |
| 138 | + run: | |
| 139 | + lime build NyanCat neko -release -verbose -nocolor |
| 140 | + lime build SimpleSWFLayout neko -release -verbose -nocolor |
| 141 | +
|
| 142 | + - name: Build Flash samples |
| 143 | + run: | |
| 144 | + lime build NyanCat flash -release -verbose -nocolor |
| 145 | + lime build SimpleSWFLayout flash -release -verbose -nocolor |
| 146 | +
|
| 147 | + - name: Build HashLink samples |
| 148 | + if: ${{ matrix.haxe-version != '3.4.7' }} |
| 149 | + run: | |
| 150 | + lime build NyanCat hl -release -verbose -nocolor |
| 151 | + lime build SimpleSWFLayout hl -release -verbose -nocolor |
0 commit comments