name: Build on: push: branches: [master] pull_request: branches: [master] jobs: build-linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build run: make -j$(nproc) - name: Verify binary run: | ls -la inference-x file inference-x du -h inference-x - name: Upload artifact uses: actions/upload-artifact@v4 with: name: inference-x-linux-x86_64 path: inference-x build-macos: runs-on: macos-latest steps: - uses: actions/checkout@v4 - name: Build run: make -j$(sysctl -n hw.ncpu) - name: Verify binary run: | ls -la inference-x file inference-x du -h inference-x - name: Upload artifact uses: actions/upload-artifact@v4 with: name: inference-x-macos-arm64 path: inference-x