Try cross compile

This commit is contained in:
Alexey Osipov 2022-11-09 22:29:25 +03:00
parent 9c29267d3e
commit e79b8fd2dc
1 changed files with 7 additions and 7 deletions

View File

@ -16,12 +16,12 @@ jobs:
- clang: x86_64-linux - clang: x86_64-linux
native: linux-x64 native: linux-x64
host: ubuntu-latest host: ubuntu-latest
#- clang: arm64-linux - clang: arm64-linux
# native: linux-arm64 native: linux-arm64
# host: ubuntu-latest host: ubuntu-latest
#- clang: arm64-darwin - clang: arm64-darwin
# native: osx-arm64 native: osx-arm64
# host: macos-latest host: macos-latest
- clang: x86_64-darwin - clang: x86_64-darwin
native: osx-x64 native: osx-x64
host: macos-latest host: macos-latest
@ -34,7 +34,7 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Build native library for ${{ matrix.target.native }} - name: Build native library for ${{ matrix.target.native }}
run: cd bindings/csharp && make -B ckzg CSHARP_PLATFORM=${{ matrix.target.native }} CLANG_PLATFORM=${{ matrix.target.clang }} run: cd bindings/csharp && make -B ckzg CSHARP_PLATFORM=${{ matrix.target.native }} CLANG_PLATFORM=${{ matrix.target.clang }}
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: