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

MINOR: [Go][CI] Add openssl to macos CGO runs #34488

Merged
merged 6 commits into from
Mar 7, 2023

Conversation

zeroshade
Copy link
Member

Rationale for this change

Fix the failing CI runs

@github-actions github-actions bot added the awaiting review Awaiting review label Mar 7, 2023
.github/workflows/go.yml Outdated Show resolved Hide resolved
.github/workflows/go.yml Outdated Show resolved Hide resolved
@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Mar 7, 2023
Copy link
Member

@assignUser assignUser left a comment

Choose a reason for hiding this comment

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

A minor change allows us to not have to export PKG_CONFIG_PATH in each step.

.github/workflows/go.yml Outdated Show resolved Hide resolved
.github/workflows/go.yml Outdated Show resolved Hide resolved
.github/workflows/go.yml Outdated Show resolved Hide resolved
zeroshade and others added 3 commits March 7, 2023 13:33
Co-authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Co-authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Co-authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
@zeroshade zeroshade merged commit 6a4c61f into apache:main Mar 7, 2023
@zeroshade zeroshade deleted the fix-macos-cgo branch March 7, 2023 20:24
@@ -308,7 +308,9 @@ jobs:
run: go install honnef.co/go/tools/cmd/staticcheck@${{ matrix.staticcheck }}
- name: Build
shell: bash
run: ci/scripts/go_build.sh $(pwd)
run: |
echo "PKG_CONFIG_PATH=/usr/local/Cellar/openssl@3/3.0.8/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't affect in this step.

We need a separated step:

- name: Prepare PKG_CONFIG_PATH
  shell: bash
  run: |
    echo "PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
- name: Build
  shell: bash
  run: ci/scripts/go_build.sh $(pwd)
...

And this change causes YAML syntax error: https://github.com/apache/arrow/actions/runs/4358242702/workflow#L308

I think that the indentation of this line is a problem.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, sorry about that. Hmm, the UI didn't seem to have shown that in the PR itself...

Copy link
Member

Choose a reason for hiding this comment

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

Also weird how the workflow didn't run on the last commit. Sorry for the indentation error that happens due to my comment suggestion 🙈

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Mar 7, 2023
zeroshade added a commit that referenced this pull request Mar 7, 2023
Fixing issue caused by #34488

Lead-authored-by: Matt Topol <zotthewizard@gmail.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
@ursabot
Copy link

ursabot commented Mar 14, 2023

Benchmark runs are scheduled for baseline = 6fdf1e5 and contender = 6a4c61f. 6a4c61f is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed ⬇️0.28% ⬆️0.06%] test-mac-arm
[Finished ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.16% ⬆️0.03%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 6a4c61f7 ec2-t3-xlarge-us-east-2
[Failed] 6a4c61f7 test-mac-arm
[Finished] 6a4c61f7 ursa-i9-9960x
[Finished] 6a4c61f7 ursa-thinkcentre-m75q
[Finished] 6fdf1e52 ec2-t3-xlarge-us-east-2
[Failed] 6fdf1e52 test-mac-arm
[Finished] 6fdf1e52 ursa-i9-9960x
[Finished] 6fdf1e52 ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting changes Awaiting changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants