This repository was archived by the owner on Jun 23, 2026. It is now read-only.
important bug fixes #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: C/C++ CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: configure | |
| run: sh ./.github/workflows/configure.sh | |
| - name: Build binaries for target linux-x86_64 | |
| run: make release CC="zig cc -target x86_64-linux" | |
| - name: Archive binaries for target linux-x86_64 | |
| run: sh ./.github/workflows/make-archives.sh linux-x86_64 | |
| - name: Build binaries for target macos-arm64 | |
| run: make clean && make release CC="zig cc -target aarch64-macos" TARMAN_OS=darwin RELEASE_LDFLAGS="" | |
| - name: Archive binaries for target macos-arm64 | |
| run: sh ./.github/workflows/make-archives.sh macos-arm64 | |
| - name: Build binaries for target macos-x86_64 | |
| run: make clean && make release CC="zig cc -target x86_64-macos" TARMAN_OS=darwin RELEASE_LDFLAGS="" | |
| - name: Archive binaries for target macos-x86_64 | |
| run: sh ./.github/workflows/make-archives.sh macos-x86_64 | |
| - name: Build binaries for target linux-arm64 | |
| run: make clean && make release CC="zig cc -target aarch64-linux" RELEASE_LDFLAGS="" | |
| - name: Build binaries for target windows-x86_64 | |
| run: make clean && make release CC="zig cc -target x86_64-windows" RELEASE_LDFLAGS="" | |
| - name: Archive binaries for target linux-arm64 | |
| run: sh ./.github/workflows/make-archives.sh linux-arm64 | |
| - name: Archive binaries for target windows-x86_64 | |
| run: sh ./.github/workflows/make-archives.sh windows-x86_64 | |
| - name: Upload all | |
| run: sh ./.github/workflows/upload.sh |