Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add CI build and release workflow for multi-OS binaries #20

Merged
merged 22 commits into from
Dec 17, 2024

Conversation

ameya-deshmukh
Copy link
Contributor

@ameya-deshmukh ameya-deshmukh commented Dec 17, 2024

This PR introduces a comprehensive GitHub Actions workflow to automate building, packaging, and releasing binaries for ssolc.
In particular, the workflow now supports the following:

  1. Multi-Platform Build Matrix:
  • Linux: ubuntu-latest with x86_64 and arm64 architectures
  • macOS: macos-latest with arm64 architecture; macos-13 with x86_64 architecture
  • Windows: windows-latest with x86_64 and arm64 architectures
    Excluded combinations:
  • macos-latest with x86_64 (unsupported).
  • macos-13 with arm64 (redundant).
  1. Binary Packaging:
    Binaries are archived based on target platform and architecture:

    Linux: ssolc-linux-${{ matrix.arch }}.tar.gz.
    macOS: ssolc-macos-${{ matrix.arch }}.tar.gz.
    Windows: ssolc-windows-${{ matrix.arch }}.zip.

  2. Artifact Upload:
    Packaged binaries are uploaded as artifacts using a consistent naming scheme:
    binaries-${{ matrix.os }}-${{ matrix.arch }}.

  3. Automated GitHub Release:
    On successful builds, all artifacts are included in a release.
    The release tag uses the shortened commit SHA (<7-char-sha>).
    The release title and notes include the branch name and full commit SHA.

The latest run and its corresponding release can be found here and here.

@ameya-deshmukh ameya-deshmukh requested a review from sfyll December 17, 2024 11:43
Copy link
Contributor

@sfyll sfyll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GG sir

@ameya-deshmukh ameya-deshmukh merged commit 197a1c8 into seismic Dec 17, 2024
@ameya-deshmukh ameya-deshmukh deleted the feature/all-os-releases branch December 17, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants