Jelajahi Sumber

cmake: Allow for cross-compilation

Xenofon Karamanos 9 bulan lalu
induk
melakukan
4a8368e419
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      .github/workflows/cmake_build.yml

+ 2 - 0
.github/workflows/cmake_build.yml

@@ -50,6 +50,8 @@ jobs:
 
 
     - name: Build Project natively
     - name: Build Project natively
       uses: threeal/[email protected]
       uses: threeal/[email protected]
+      # Step runs for all except this combination
+      if: matrix.os != 'ubuntu-latest' || matrix.target_arch != 'aarch64'  
       with:
       with:
         build-dir: ${{github.workspace}}/build
         build-dir: ${{github.workspace}}/build
         build-args: -j8
         build-args: -j8