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

Published GitHub Action #31

Open
jeremylt opened this issue Nov 30, 2020 · 11 comments
Open

Published GitHub Action #31

jeremylt opened this issue Nov 30, 2020 · 11 comments

Comments

@jeremylt
Copy link

I was wondering, is there a plan to eventually publish a GitHub action based on the work in this repo? It would certainly make CI against Intel's compilers easier for those of us working on open source for exascale.

@mmzakhar
Copy link
Contributor

mmzakhar commented Dec 3, 2020

Yes, we're certainly looking into adding this capability.

@jeremylt
Copy link
Author

jeremylt commented Dec 3, 2020

Fantastic! Thank you for the info

@dpo
Copy link

dpo commented Nov 11, 2022

Any progress on this?

@rscohn2
Copy link
Member

rscohn2 commented Nov 11, 2022

It would be great to have an action that cached the install and let you specify version and whether you want C++ or fortran

@rscohn2
Copy link
Member

rscohn2 commented Nov 11, 2022

Here is an example that downloads/caches a tool and adds it to the path.
https://docs.github.com/en/actions/creating-actions/developing-a-third-party-cli-action
It also has links to the core package, which lets you exec something.

@rscohn2
Copy link
Member

rscohn2 commented Nov 13, 2022

Any progress on this?

I implemented an action to install oneapi components. See https://github.com/rscohn2/setup-oneapi

@dpo
Copy link

dpo commented Nov 13, 2022

Thanks @rscohn2! With your action, is it possible to specify the version of the components?

@rscohn2
Copy link
Member

rscohn2 commented Nov 13, 2022

Thanks @rscohn2! With your action, is it possible to specify the version of the components?

Right now, it only allows the latest version. If I added ifx@2022.0.0 into https://github.com/rscohn2/setup-oneapi/blob/bf89504c64abcf4756939c713f9e48c3dede1ccf/src/main.js#L10, then you can specify ifx2022.0.0. Every URL has to be added manually, so I didn't do that. Maybe going forward.

@rscohn2
Copy link
Member

rscohn2 commented Nov 14, 2022

I added version numbers for the latest: https://github.com/rscohn2/setup-oneapi/blob/ed61dc61e54d8903a191298babd5ae3364a64650/src/main.js#L12

@dpo
Copy link

dpo commented Nov 14, 2022

Many thanks! I notice that icc and ifort are not among the possible choices. Unless I'm mistaken, that means the action cannot be used to test macOS builds. Is there any plan to add support for macOS?

@rscohn2
Copy link
Member

rscohn2 commented Nov 14, 2022

icc is in the icx component and ifort is in the ifx component, but this action only supports linux. I am not sure if I will do the other platforms. Also, icc has been deprecated.

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

No branches or pull requests

4 participants