From 8340b8a46a7850d61f0a6823a7f9ce3c90f031ea Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Sat, 17 Dec 2022 00:46:05 +0530 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f3aff602..62c28a57 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,10 +14,10 @@ jobs: - run: | 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]..." 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 export PATH=/tmp/haxe/:"$PATH" export HAXE_STD_PATH=/tmp/haxe/std @@ -27,13 +27,15 @@ jobs: brew install neko haxelib setup ~/haxelib haxelib list - git clone https://github.com/RandomityGuy/MBHaxe haxelib install hashlink haxelib install hlsdl haxelib git heaps https://github.com/RandomityGuy/heaps git clone https://github.com/RandomityGuy/hashlink curl -LJO https://github.com/RandomityGuy/hashlink/releases/download/latest/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 # See: https://circleci.com/docs/2.0/configuration-reference/#workflows