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

Run tests on arm and intel #64

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Run tests on arm and intel #64

merged 1 commit into from
Feb 2, 2024

Conversation

kylekthompson
Copy link
Member

No description provided.

@kylekthompson kylekthompson force-pushed the kt/add-arm-tests branch 3 times, most recently from a39fe25 to 60707a1 Compare February 2, 2024 16:39
Comment on lines -17 to +31
with:
path: homebrew-fake-tap-name # give it a fake name so we don't accidentally pull the one from github

- name: move it to the right directory
run: |
mkdir -p homebrew-tap /usr/local/Homebrew/Library/Taps/rwx-research
mv homebrew-fake-tap-name /usr/local/Homebrew/Library/Taps/rwx-research/

- name: Install abq & run it
run: |
set -o pipefail
brew install rwx-research/fake-tap-name/${{ matrix.name }} 2>&1 | tee install-output.txt
! command -v abq
brew install ./Formula/${{ matrix.name }}.rb 2>&1 | tee install-output.txt
Copy link
Member Author

@kylekthompson kylekthompson Feb 2, 2024

Choose a reason for hiding this comment

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

I tweaked how this works a touch because these commands were failing on macos-14. sudo worked to create the dirs and move the tap, but then brew install failed due to permissions.

This seemed easier than resolving all those shenanigans.

@TAGraves TAGraves merged commit f378f70 into main Feb 2, 2024
10 checks passed
@TAGraves TAGraves deleted the kt/add-arm-tests branch February 2, 2024 16:52
@kylekthompson kylekthompson mentioned this pull request Feb 2, 2024
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