gnustep / libobjc2

Objective-C runtime library intended for use with Clang.
http://www.gnustep.org/
MIT License
426 stars 116 forks source link

Add MinGW CI #262

Closed qmfrederik closed 5 months ago

qmfrederik commented 6 months ago

Adds a CI job which builds libobjc2 in the the msys2/ucrt64 and the msys2/mingw64 environments. I had to disable a couple of tests for CI to pass; we can re-enable most of them after/when #260 is merged.

davidchisnall commented 6 months ago

Hopefully more of the tests are passing now?

qmfrederik commented 6 months ago

Yes, all tests but UnexpectedException pass on MinGW, but we'd need a way for CI to pick up the latest version of clang and/or allow the exception tests to fail until we've got clang 18 in MinGW.

qmfrederik commented 5 months ago

The clang changes to support compiling Objective-C code on MinGW have been backported onto the version of clang which ships with MinGW (see https://github.com/msys2/MINGW-packages/pull/19767). This means CI now works on MinGW, including the exception handling tests.

@davidchisnall Let me know if this is OK with you.