Skip to content

Commit

Permalink
start messing
Browse files Browse the repository at this point in the history
  • Loading branch information
RblSb committed Feb 9, 2024
1 parent c7ac543 commit c3ba518
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,11 @@ jobs:
path: out/linux/arm64

mac-build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-14]
runs-on: ${{ matrix.os }}
env:
PLATFORM: mac
OPAMYES: 1
Expand Down Expand Up @@ -494,7 +498,7 @@ jobs:
curl -L https://github.com/madler/zlib/releases/download/v$ZLIB_VERSION/zlib-$ZLIB_VERSION.tar.gz | tar xz
cd zlib-$ZLIB_VERSION
./configure
make && make install
sudo make && sudo make install
cd ..
curl -L https://github.com/ARMmbed/mbedtls/archive/v$MBEDTLS_VERSION.tar.gz | tar xz
cd mbedtls-$MBEDTLS_VERSION
Expand Down Expand Up @@ -536,12 +540,20 @@ jobs:
otool -L ./haxe
otool -L ./haxelib
- name: Upload artifact
- name: Upload artifact (x64)
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: macBinaries
path: out

- name: Upload artifact (arm)
if: matrix.os == 'macos-14'
uses: actions/upload-artifact@v3
with:
name: macArmBinaries
path: out


windows64-test:
needs: windows64-build
Expand Down
12 changes: 10 additions & 2 deletions extra/github-actions/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
curl -L https://github.com/madler/zlib/releases/download/v$ZLIB_VERSION/zlib-$ZLIB_VERSION.tar.gz | tar xz
cd zlib-$ZLIB_VERSION
./configure
make && make install
sudo make && sudo make install
cd ..
curl -L https://github.com/ARMmbed/mbedtls/archive/v$MBEDTLS_VERSION.tar.gz | tar xz
cd mbedtls-$MBEDTLS_VERSION
Expand Down Expand Up @@ -55,8 +55,16 @@
otool -L ./haxe
otool -L ./haxelib
- name: Upload artifact
- name: Upload artifact (x64)
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: macBinaries
path: out

- name: Upload artifact (arm)
if: matrix.os == 'macos-14'
uses: actions/upload-artifact@v3
with:
name: macArmBinaries
path: out
6 changes: 5 additions & 1 deletion extra/github-actions/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,11 @@ jobs:
path: out/linux/arm64

mac-build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-14]
runs-on: ${{ matrix.os }}
env:
PLATFORM: mac
OPAMYES: 1
Expand Down

0 comments on commit c3ba518

Please sign in to comment.