mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-19 21:33:06 +00:00
ci: hxcpp + export caching
This commit is contained in:
parent
697be2c88c
commit
3e1e5d330c
1
.github/actions/setup-haxeshit/action.yml
vendored
1
.github/actions/setup-haxeshit/action.yml
vendored
|
@ -25,7 +25,6 @@ runs:
|
||||||
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-hmm-
|
${{ runner.os }}-hmm-
|
||||||
${{ runner.os }}-
|
|
||||||
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
||||||
name: hmm install
|
name: hmm install
|
||||||
run: |
|
run: |
|
||||||
|
|
19
.github/workflows/build-shit.yml
vendored
19
.github/workflows/build-shit.yml
vendored
|
@ -52,13 +52,30 @@ jobs:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
token: ${{ secrets.GH_RO_PAT }}
|
token: ${{ secrets.GH_RO_PAT }}
|
||||||
- uses: ./.github/actions/setup-haxeshit
|
- uses: ./.github/actions/setup-haxeshit
|
||||||
|
- name: Make HXCPP cache dir
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir -p ${{ runner.temp }}/hxcpp_cache
|
||||||
|
- name: Restore build cache
|
||||||
|
id: cache-build-win
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
.haxelib
|
||||||
|
export
|
||||||
|
${{ runner.temp }}/hxcpp_cache
|
||||||
|
key: ${{ runner.os }}-build-win-${{ github.ref_name }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-build-win-
|
||||||
- name: Build game
|
- name: Build game
|
||||||
run: |
|
run: |
|
||||||
haxelib run lime build windows -release -DNO_REDIRECT_ASSETS_FOLDER
|
haxelib run lime build windows -release -DNO_REDIRECT_ASSETS_FOLDER
|
||||||
dir
|
dir
|
||||||
|
env:
|
||||||
|
HXCPP_COMPILE_CACHE: "${{ runner.temp }}/hxcpp_cache"
|
||||||
- uses: ./.github/actions/upload-itch
|
- uses: ./.github/actions/upload-itch
|
||||||
with:
|
with:
|
||||||
butler-key: ${{ secrets.BUTLER_API_KEY}}
|
butler-key: ${{ secrets.BUTLER_API_KEY }}
|
||||||
build-dir: export/release/windows/bin
|
build-dir: export/release/windows/bin
|
||||||
target: win
|
target: win
|
||||||
# test-unit-win:
|
# test-unit-win:
|
||||||
|
|
Loading…
Reference in a new issue