diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 029f6777f5e..c2f9fca29fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -165,17 +165,15 @@ jobs: sudo add-apt-repository ppa:avsm/ppa -y # provides OPAM 2 sudo add-apt-repository ppa:haxe/ocaml -y # provides newer version of mbedtls sudo apt-get update -qqy - sudo apt-get install -qqy ocaml-nox camlp5 opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev ninja-build libstring-shellquote-perl libipc-system-simple-perl + sudo apt-get install -qqy opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev libstring-shellquote-perl libipc-system-simple-perl - name: Install OCaml libraries if: steps.cache-opam.outputs.cache-hit != 'true' run: | set -ex - opam init # --disable-sandboxing + opam init -c ${{ matrix.ocaml }} opam update - opam switch create ${{ matrix.ocaml }} - opam pin add haxe . --no-action - opam install haxe --deps-only --assume-depexts + opam install . --deps-only --assume-depexts opam list ocamlopt -v @@ -553,7 +551,9 @@ jobs: run: | set -ex eval $(opam env) - make -s STATICLINK=1 haxe + export "LIB_PARAMS=/usr/local/lib/libz.a /usr/local/lib/libpcre2-8.a /usr/local/lib/libmbedtls.a /usr/local/lib/libmbedcrypto.a /usr/local/lib/libmbedx509.a -cclib '-framework Security -framework CoreFoundation'" + export STATICLINK=1 + make -s haxe make -s haxelib make -s package_unix package_installer_mac ls -l out diff --git a/extra/github-actions/build-mac.yml b/extra/github-actions/build-mac.yml index 92046d230db..45d22640e70 100644 --- a/extra/github-actions/build-mac.yml +++ b/extra/github-actions/build-mac.yml @@ -64,7 +64,9 @@ run: | set -ex eval $(opam env) - make -s STATICLINK=1 haxe + export "LIB_PARAMS=/usr/local/lib/libz.a /usr/local/lib/libpcre2-8.a /usr/local/lib/libmbedtls.a /usr/local/lib/libmbedcrypto.a /usr/local/lib/libmbedx509.a -cclib '-framework Security -framework CoreFoundation'" + export STATICLINK=1 + make -s haxe make -s haxelib make -s package_unix package_installer_mac ls -l out diff --git a/extra/github-actions/workflows/main.yml b/extra/github-actions/workflows/main.yml index 060257dc2bd..3f3c43622fa 100644 --- a/extra/github-actions/workflows/main.yml +++ b/extra/github-actions/workflows/main.yml @@ -57,17 +57,15 @@ jobs: sudo add-apt-repository ppa:avsm/ppa -y # provides OPAM 2 sudo add-apt-repository ppa:haxe/ocaml -y # provides newer version of mbedtls sudo apt-get update -qqy - sudo apt-get install -qqy ocaml-nox camlp5 opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev ninja-build libstring-shellquote-perl libipc-system-simple-perl + sudo apt-get install -qqy opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev libstring-shellquote-perl libipc-system-simple-perl - name: Install OCaml libraries if: steps.cache-opam.outputs.cache-hit != 'true' run: | set -ex - opam init # --disable-sandboxing + opam init -c ${{ matrix.ocaml }} opam update - opam switch create ${{ matrix.ocaml }} - opam pin add haxe . --no-action - opam install haxe --deps-only --assume-depexts + opam install . --deps-only --assume-depexts opam list ocamlopt -v diff --git a/tests/Brewfile b/tests/Brewfile index ac7f3f61b01..dcda3150ca9 100644 --- a/tests/Brewfile +++ b/tests/Brewfile @@ -1,6 +1,4 @@ brew "opam" -brew "ninja" -brew "cmake" brew "pkg-config" brew "libunistring" brew "cpanminus" \ No newline at end of file