oneapi-src/oneapi-ci

Published GitHub Action

Opened this issue ยท 11 comments

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.

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

Fantastic! Thank you for the info

dpo commented

Any progress on this?

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

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.

Any progress on this?

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

dpo commented

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

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.

dpo commented

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?

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.