From d0c220bdd8e208300ca0e85130054c08b6f71426 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Fri, 16 Dec 2022 23:05:15 +0530 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7924781a..06d69d75 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,10 +11,28 @@ jobs: steps: - checkout + + - run: | + set -eux + download_url="https://build.haxe.org/builds/haxe/mac/haxe_latest.tar.gz" + echo "Downloading [$download_url]..." + mkdir /tmp/haxe + curl -fsSL --retry 3 --retry-delay 5 "$download_url" -o /tmp/haxe.tar.gz + tar xzvf /tmp/haxe.tar.gz -C /tmp/haxe --strip-components=1 + echo 'export PATH=/tmp/haxe/:"$PATH"' >> "$BASH_ENV" + echo "export HAXE_STD_PATH=/tmp/haxe/std" >> "$BASH_ENV" + source "$BASH_ENV" + /tmp/haxe/haxe --version + - run: | brew install cmake brew install libpthread-stubs + - run: | + set -eux + haxelib setup ~/haxelib + haxelib list + # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: