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

Fix CI #90

Merged
merged 2 commits into from
Oct 29, 2020
Merged

Fix CI #90

merged 2 commits into from
Oct 29, 2020

Conversation

steveklabnik
Copy link
Contributor

@steveklabnik steveklabnik commented Oct 27, 2020

There's some weird reason where scoop isn't installing the right thing. So, let's fix that.

To do so, we are:

  1. going to download just objcopy
  2. gonna use vcpkg to get openssl

This completely removes scoop and all its shenanigans; vcpkg is already
installed in the CI environment.

There's some weird reason where scoop isn't installing the right thing.
So, let's fix that.

To do so, we are:

1. going to download just objcopy
2. gonna use vcpkg to get openssl

This completely removes scoop and all its shenanigans; vcpkg is already
installed in the CI environment.
Comment on lines 34 to 35
Invoke-WebRequest -Uri https://github.com/steveklabnik/arm-none-eabi-objcopy/releases/download/9-2020-q2-update/arm-none-eabi-objcopy.exe -OutFile "D:\a\hubris\arm-none-eabi-objcopy.exe"
echo "D:\a\hubris\" >> $env:GITHUB_PATH
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does github provide a better place to put temporary files? I'm a little wary of relying on the D:\a\hubris\ path, else github changes something out from under us.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know, but I'll look into it more. I agree.

Copy link
Contributor Author

@steveklabnik steveklabnik Oct 28, 2020

Choose a reason for hiding this comment

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

It seems that there's a not-super-well-documented RUNNER_TEMP variable, see actions/toolkit#518

I've pushed a commit that implements this.

@steveklabnik steveklabnik merged commit 071a52e into master Oct 29, 2020
@steveklabnik steveklabnik deleted the fix-ci branch October 29, 2020 17:02
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