KhronosGroup / OpenCL-CLHPP

Khronos OpenCL-CLHPP
Apache License 2.0
375 stars 129 forks source link

Ci fix #216

Closed Kerilk closed 1 year ago

Kerilk commented 1 year ago

This should fix the CI.

@MathiasMagnus I replaced absolute paths when possible by the relevant environment variables. The only exception is here: https://github.com/Kerilk/OpenCL-CLHPP/blob/8fa5b4ef8ab067d17c9bd7577ede471e5b3ef552/.github/workflows/linux.yml#L25-L26

But I think the core of the issue is in https://github.com/actions/runner/issues/2058 and once GitHub fixes it we should be able to remove these two lines.

Please tell me if you had something else in mind.

This is a less drastic change than what is proposed here: https://github.com/KhronosGroup/OpenCL-CLHPP/pull/214

Kerilk commented 1 year ago

Thanks for the reviews!

There is still one place where we enable testing with -D BUILD_TESTS=ON. Is this a typo, and should this be -D BUILD_TESTING=ON instead?

I think it is and implemented the change (after some fumble on my part). I'll check that the runs are indeed correct.

Kerilk commented 1 year ago

I checked the CI run and it tested well with the latest modifications. This one is ready for merging I think.