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

Add macOS releases #90

Merged
merged 2 commits into from Jun 8, 2023
Merged

Add macOS releases #90

merged 2 commits into from Jun 8, 2023

Conversation

jberci
Copy link
Contributor

@jberci jberci commented Jun 7, 2023

This also changes the way makefiles print colorized output, similar to what was done in oasisprotocol/deoxysii-rust#22, for better compatibility with macOS.

macOS releases are universal binaries that work on either architecture, with whatever is the minimum supported system version for the go compiler (High Sierra on Intel, Big Sur on Apple silicon).

Copy link
Member

@kostko kostko left a comment

Choose a reason for hiding this comment

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

Nice!

Can you also change tests (the ci-test workflow) to run on macOS? Probably can do similar as here with something like:

    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest]
    # NOTE: This name appears in GitHub's Checks API.
    name: tests-${{ matrix.os }}
    runs-on: ${{ matrix.os }}

printf is more portable, the echo on macOS behaves opposite to what was
used in the Makefiles.
The minimum supported versions are golang defaults, i.e.:
- 10.13 High Sierra for Intel builds, and
- 11.0 Big Sur for Apple silicon builds.
@jberci jberci merged commit ef2bf68 into master Jun 8, 2023
3 checks passed
@jberci jberci deleted the jberci/feature/macos branch June 8, 2023 11:59
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.

None yet

2 participants