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

Run GH-workflow on Linux, Windows and Mac #1081

Merged
merged 1 commit into from
Dec 31, 2022

Conversation

HannesWell
Copy link
Contributor

@HannesWell HannesWell commented Nov 23, 2022

Lets see if the build passes on Windows as well.

Fixes #1080.

@github-actions
Copy link

github-actions bot commented Nov 23, 2022

Test Results

   196 files  +  98     196 suites  +98   21m 13s ⏱️ + 12m 16s
   611 tests ±    0     604 ✔️ ±    0    7 💤 ±0  0 ±0 
1 222 runs  +611  1 208 ✔️ +604  14 💤 +7  0 ±0 

Results for commit 00b12e8. ± Comparison against base commit 5640b34.

♻️ This comment has been updated with latest results.

@laeubi
Copy link
Member

laeubi commented Nov 23, 2022

@HannesWell the name: test-results should contain the so one run do not overwrite the results of the other.

@HannesWell
Copy link
Contributor Author

@HannesWell the name: test-results should contain the so one run do not overwrite the results of the other.

Thanks. Fixed it.

@HannesWell
Copy link
Contributor Author

The Test result upload for the Windows build still fails with:
Error: ENOENT: no such file or directory, realpath 'D:\a\m2e-core\m2e-core\products\m2e-ide\target\products\m2e-ide\macosx\cocoa\aarch64\Eclipse.app\Contents\Eclipse\features\org.eclipse.ecf.filetransfer.httpclient5.feature.source_1.1.600.v20220215-0126\META-INF\maven\org.eclipse.ecf\org.eclipse.ecf.filetransfer.httpclient5.feature'

I don't understand that. Anybody has a hint?
The Mac build has test-failures as anticipated.

@laeubi
Copy link
Member

laeubi commented Nov 24, 2022

Sadly there is a bug in the upload workflow see for example:

@laeubi
Copy link
Member

laeubi commented Dec 14, 2022

@HannesWell do you like to finish this?

@kwin kwin mentioned this pull request Dec 22, 2022
@HannesWell HannesWell changed the title Run GH-workflow on Linux and Windows Run GH-workflow on Linux, Windows and Mac Dec 22, 2022
@HannesWell HannesWell force-pushed the matrixBuild branch 2 times, most recently from 6e90837 to 5560b90 Compare December 22, 2022 21:41
@HannesWell
Copy link
Contributor Author

@kwin you mentioned in actions/upload-artifact#240 (comment) that with a recent node.js the windows issues should be fixed. Can you explain what has to be changed in this repo to get a fixed version?

If we don't make it work on windows and #1154 at least we can alread merge this for Linux and Mac only and add Windows later, when it is working.

But the current failure on Windows seem to be a baseline issue.

@kwin
Copy link
Member

kwin commented Dec 23, 2022

@kwin you mentioned in actions/upload-artifact#240 (comment) that with a recent node.js the windows issues should be fixed. Can you explain what has to be changed in this repo to get a fixed version?

Nothing, it should just work if GitHub Runners are connected to this repo and not custom ones.

But the current failure on Windows seem to be a baseline issue.

Indeed not related to the NodeJS issues related to long paths on Windows.

@HannesWell
Copy link
Contributor Author

@kwin you mentioned in actions/upload-artifact#240 (comment) that with a recent node.js the windows issues should be fixed. Can you explain what has to be changed in this repo to get a fixed version?

Nothing, it should just work if GitHub Runners are connected to this repo and not custom ones.

We use the GH-runners so that should work already.

But the current failure on Windows seem to be a baseline issue.

Indeed not related to the NodeJS issues related to long paths on Windows.

How did you identify the long paths as an issue? From my local builds I only know that there are baseline issues because on Windows text files are usually checked out with windows-style lineendings why they are committed in git and in the p2 base-line repo with linuy-style lineendings.
I already started eclipse-tycho/tycho#1891 for that but didn't have the time to continue.

@kwin
Copy link
Member

kwin commented Dec 28, 2022

I didn’t but @laeubi did in #1081 (comment)

@kwin
Copy link
Member

kwin commented Dec 28, 2022

Maybe we can disable Windows until the baseline issues are resolved (or just disable baselining for the time being on Windows with a specific Maven profile)

@HannesWell
Copy link
Contributor Author

I didn’t but @laeubi did in #1081 (comment)

Ah, sorry I misunderstood your comment. Just disregard mine.

@HannesWell
Copy link
Contributor Author

Maybe we can disable Windows until the baseline issues are resolved (or just disable baselining for the time being on Windows with a specific Maven profile)

Yes, I thought about that as well. Disabling it temporarily in a profile on windows (or at least downgrade it to warnings) seems reasonable in that case. I'll try that tomorrow.

@HannesWell
Copy link
Contributor Author

Now we have again the initial error...
Error: ENOENT: no such file or directory, realpath 'D:\a\m2e-core\m2e-core\products\m2e-ide\target\products\m2e-ide\macosx\cocoa\aarch64\Eclipse.app\Contents\Eclipse\features\org.eclipse.ecf.filetransfer.httpclient5.feature.source_1.1.701.v20221112-0806\META-INF\maven\org.eclipse.ecf\org.eclipse.ecf.filetransfer.httpclient5.feature'

@HannesWell
Copy link
Contributor Author

On Linux and Mac this passes now. So lets enable that for now and add Windows later, when it is working.

@HannesWell HannesWell merged commit 9f16486 into eclipse-m2e:master Dec 31, 2022
@HannesWell HannesWell deleted the matrixBuild branch December 31, 2022 13: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.

Build and Test with GitHub Actions on Windows and Mac OS
3 participants