mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
Updated config.yml
This commit is contained in:
parent
6573e06bd8
commit
8340b8a46a
1 changed files with 5 additions and 3 deletions
|
|
@ -14,10 +14,10 @@ jobs:
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
set -eux
|
set -eux
|
||||||
download_url="https://build.haxe.org/builds/haxe/mac/haxe_latest.tar.gz"
|
download_url="https://github.com/HaxeFoundation/haxe/releases/download/4.2.5/haxe-4.2.5-osx.tar.gz"
|
||||||
echo "Downloading [$download_url]..."
|
echo "Downloading [$download_url]..."
|
||||||
mkdir /tmp/haxe
|
mkdir /tmp/haxe
|
||||||
curl -fsSL --retry 3 --retry-delay 5 "$download_url" -o /tmp/haxe.tar.gz
|
curl -LJO "$download_url" -o /tmp/haxe.tar.gz
|
||||||
tar xzvf /tmp/haxe.tar.gz -C /tmp/haxe --strip-components=1
|
tar xzvf /tmp/haxe.tar.gz -C /tmp/haxe --strip-components=1
|
||||||
export PATH=/tmp/haxe/:"$PATH"
|
export PATH=/tmp/haxe/:"$PATH"
|
||||||
export HAXE_STD_PATH=/tmp/haxe/std
|
export HAXE_STD_PATH=/tmp/haxe/std
|
||||||
|
|
@ -27,13 +27,15 @@ jobs:
|
||||||
brew install neko
|
brew install neko
|
||||||
haxelib setup ~/haxelib
|
haxelib setup ~/haxelib
|
||||||
haxelib list
|
haxelib list
|
||||||
git clone https://github.com/RandomityGuy/MBHaxe
|
|
||||||
haxelib install hashlink
|
haxelib install hashlink
|
||||||
haxelib install hlsdl
|
haxelib install hlsdl
|
||||||
haxelib git heaps https://github.com/RandomityGuy/heaps
|
haxelib git heaps https://github.com/RandomityGuy/heaps
|
||||||
git clone https://github.com/RandomityGuy/hashlink
|
git clone https://github.com/RandomityGuy/hashlink
|
||||||
curl -LJO https://github.com/RandomityGuy/hashlink/releases/download/latest/hashlink-69bf6d7-darwin.tar.gz
|
curl -LJO https://github.com/RandomityGuy/hashlink/releases/download/latest/hashlink-69bf6d7-darwin.tar.gz
|
||||||
tar -xvzf hashlink-69bf6d7-darwin.tar.gz
|
tar -xvzf hashlink-69bf6d7-darwin.tar.gz
|
||||||
|
cp -rf hashlink/libs/sdl/* ~/haxelib/hlsdl/1,10,0
|
||||||
|
haxe compile-c.hxml
|
||||||
|
cp -r hashlink-69bf6d7-darwin/* native
|
||||||
|
|
||||||
# Invoke jobs via workflows
|
# Invoke jobs via workflows
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue