Update CI script

This commit is contained in:
Joshua Granick
2021-01-05 23:34:09 -08:00
parent 4640bd8781
commit 216aacf0df

View File

@@ -39,11 +39,6 @@ jobs:
haxelib install hxp --quiet haxelib install hxp --quiet
haxelib git lime-samples https://github.com/openfl/lime-samples --quiet haxelib git lime-samples https://github.com/openfl/lime-samples --quiet
- name: Rebuild dev HXCPP
if: ${{ !startsWith(matrix.os, 'windows-') }}
run: |
haxelib run lime rebuild hxcpp
- name: Enable HXCPP compile cache (Linux/macOS) - name: Enable HXCPP compile cache (Linux/macOS)
if: ${{ !startsWith(matrix.os, 'windows-') }} if: ${{ !startsWith(matrix.os, 'windows-') }}
run: | run: |
@@ -61,22 +56,25 @@ jobs:
with: with:
ndk-version: r15c ndk-version: r15c
- name: Rebuild Lime tools
run: |
haxelib run lime rebuild tools -nocolor -verbose
- name: Install "lime" command alias (Linux/macOS) - name: Install "lime" command alias (Linux/macOS)
if: ${{ !startsWith(matrix.os, 'windows-') }} if: ${{ !startsWith(matrix.os, 'windows-') }}
run: | run: |
haxelib dev lime $GITHUB_WORKSPACE haxelib dev lime $GITHUB_WORKSPACE
haxelib run lime setup -alias -y haxelib run lime rebuild tools -nocolor -verbose
haxelib run lime setup -alias -y -nocffi
lime || alias lime="haxelib run lime" lime || alias lime="haxelib run lime"
- name: Install "lime" command alias (Windows) - name: Install "lime" command alias (Windows)
if: ${{ startsWith(matrix.os, 'windows-') }} if: ${{ startsWith(matrix.os, 'windows-') }}
run: | run: |
haxelib dev lime $Env:GITHUB_WORKSPACE haxelib dev lime $Env:GITHUB_WORKSPACE
haxelib run lime setup -alias -y haxelib run lime rebuild tools -nocolor -verbose
haxelib run lime setup -alias -y -nocffi
- name: Rebuild dev HXCPP
if: ${{ !startsWith(matrix.os, 'windows-') }}
run: |
haxelib run lime rebuild hxcpp
- name: Configure Android support (Linux) - name: Configure Android support (Linux)
if: ${{ startsWith(matrix.os, 'ubuntu-') }} if: ${{ startsWith(matrix.os, 'ubuntu-') }}