fixed: `darwin-wasmer-amd64` compilation
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 22 Nov 2023 19:17:34 +0000 (13:17 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 22 Nov 2023 19:17:34 +0000 (13:17 -0600)
.github/workflows/onyx-build.yml

index bd929be0face609f69f84e9af40835d23909ecad..9849fc6b2831b2cdb41b3dc0ed35311c0222e219 100644 (file)
@@ -79,7 +79,7 @@ jobs:
         run: |
           chmod +x build.sh
 
-      - name: Install Linux building dependencies
+      - name: Install Wasmer building dependencies
         if: matrix.runtime_library == 'wasmer'
         run: |
           curl https://get.wasmer.io -sSfL | sh
@@ -108,7 +108,16 @@ jobs:
           ONYX_ARCH: linux_x86_64
 
       - name: Build Onyx for ${{ matrix.build }}
-        if: matrix.build == 'darwin-amd64'
+        if: (matrix.build == 'darwin-amd64') && (matrix.runtime_library != 'none')
+        run: |
+          ./build.sh compile compress
+        env:
+          ONYX_CC: gcc
+          ONYX_ARCH: darwin_amd64
+          ONYX_RUNTIME_LIBRARY: ${{ matrix.runtime_library }}
+
+      - name: Build Onyx for ${{ matrix.build }}
+        if: (matrix.build == 'darwin-amd64') && (matrix.runtime_library == 'none')
         run: |
           ./build.sh compile compress
         env: