mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-05 06:14:36 +00:00
0a19c7a8cb
* hx the codec * fix(ci,html5): use haxe.Timer instead of Sys.time * refactor(compat): use haxe.Timer instead of Sys.time(), introduce TimerUtil to reduce code dupe * fix: redundant types * refactor(style): use TimerTools in place of haxe.Timer * refactor: consistent timer code * feat: build timings * refactor(ci): cleanup ci configs * sigh * sigh, 2 * fix: haxelib deleterepo does not silently fail * retrigger ci * verbose output * debug info after haxelib gti * force haxelib git override * more debug info * force bash * at least haxelib is consistent now * fix the runners first, then do that * update ci-haxe * it is time? * deleterepo may fail * finishing touches
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
name: setup-haxeshit
|
|
description: "sets up haxe shit, using HMM!"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Haxe lol
|
|
uses: funkincrew/ci-haxe@v3.1.0
|
|
with:
|
|
haxe-version: 4.3.3
|
|
- name: Config haxelib
|
|
run: |
|
|
haxelib --never install haxelib 4.1.0 --global
|
|
haxelib --never deleterepo || true
|
|
haxelib --never newrepo
|
|
echo "HAXEPATH=$(haxelib config)" >> "$GITHUB_ENV"
|
|
haxelib --never git haxelib https://github.com/HaxeFoundation/haxelib.git master
|
|
shell: bash
|
|
- name: Gather debug info
|
|
run: |
|
|
cat << EOF >> "$GITHUB_STEP_SUMMARY"
|
|
## haxe
|
|
- version: \`$(haxe -version)\`
|
|
- exe: \`$(which haxe)\`
|
|
## haxelib
|
|
- version: \`$(haxelib version)\`
|
|
- exe: \`$(which haxelib)\`
|
|
- path: \`$HAXEPATH\`
|
|
### local
|
|
- config: \`$(haxelib config)\`
|
|
- path: \`$(haxelib path haxelib || true)\`
|
|
### global
|
|
- config: \`$(haxelib config --global)\`
|
|
- path: \`$(haxelib path haxelib --global || true)\`
|
|
### system
|
|
- version: \`$(haxelib --system version)\`
|
|
- local: \`$(haxelib --system config)\`
|
|
- global: \`$(haxelib --system config --global)\`
|
|
EOF
|
|
shell: bash
|
|
- name: Install hmm
|
|
# hmm only supports global installs
|
|
run: |
|
|
haxelib --global install hmm
|
|
shell: bash
|
|
- name: Restore cached dependencies
|
|
id: cache-hmm
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: .haxelib
|
|
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
|
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
|
name: hmm install
|
|
run: |
|
|
haxelib --global run hmm install
|
|
shell: bash
|