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

Provide a Github Action Matrix build verification #68

Closed
laeubi opened this issue Apr 22, 2022 · 2 comments
Closed

Provide a Github Action Matrix build verification #68

laeubi opened this issue Apr 22, 2022 · 2 comments

Comments

@laeubi
Copy link
Contributor

laeubi commented Apr 22, 2022

As SWT has platformspecific code it would be good to check the compile on each of those.

I have started creating one (see https://github.com/laeubi/eclipse.platform.swt/actions/workflows/maven.yml) but running into trouble find out what are the right parameters, I used https://wiki.eclipse.org/SWT/Developer_Guide#Build_SWT but it is not very informative (or I don't understand it) in regards to expected build parameters.

While I can get those from the CI build for linux I had to guess them for mac/windows, but it seems my guess is wrong I always get:

Error: Cannot resolve project dependencies:
Error: You requested to install 'org.eclipse.equinox.p2.iu; org.eclipse.swt.tests.fragments.feature.feature.group 0.0.0' but it could not be found

The buildfile could be found here: https://github.com/laeubi/eclipse.platform.swt/pull/1/files

it creates a matrix and defines the following for each:

  • { os: ubuntu-latest, native: gtk.linux.x86_64 }
  • { os: windows-latest, native: win32.win32.x86_64 }
  • { os: macos-latest, native: cocoa.macosx.x86_64}

what the is passed to the build as -Dnative=${{ matrix.config.native }} but it seems either the id is wrong or I need to setup something for the other environments.

@laeubi
Copy link
Contributor Author

laeubi commented Apr 22, 2022

I also find https://www.eclipse.org/swt/swt_win_native.php but it does not mention maven and seems a bit outdated as well (JDK8?).

@laeubi
Copy link
Contributor Author

laeubi commented May 9, 2022

@laeubi laeubi closed this as completed May 9, 2022
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

1 participant