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
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: