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

Add Github Action for Building Binaries #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alex-Vasile
Copy link

Added github action to make, run tests, and export binaries for macOS and linux.

I got around #109 with a bit of a hack. This does not solve the problem, but it allows us to get it working for now.

The same functionality is half there for Windows, I just haven't figured out how to properly install GNAT yet.

This gets us 2/3 of the way towards finishing #2.

Added github action to make, run tests, and export binaries for macOS and linux.

I got around mk270#109 with a bit of a hack. This does not solve the problem, but it allows us to get it working for now.

The same functionality is half there for Windows, I just haven't figured out how to properly install GNAT yet.

# steps:
# - name: GNAT Install
# # TODO
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems msys2 does have packages, so Windows is hopefully a bit easier to handle than macOS.

https://packages.msys2.org/package/mingw-w64-x86_64-gcc-ada
https://packages.msys2.org/package/mingw-w64-x86_64-gprbuild

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I will try it that out.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, you would think Windows would be easier. But so far it has been harder.

I've worked out how to set up the gnat and the rest on a local windows machine. However it does not build properly:
bin/makeinfl INFLECTS.LAT > /dev/null
raised LATIN_UTILS.INFLECTIONS_PACKAGE.GIVE_UP : latin_utils-inflections_package.adb:572
mingw32-make: *** [Makefile:35: INFLECTS.SEC] Error 1

It can't make the inflections file for some reason. If I make that file on my mac, copy it over, and then run the last line in the makefile (bin/makeefil.exe), then it seems to function.

I installed msys2, updated all of it's packages, and installed the following three packages:
https://packages.msys2.org/package/mingw-w64-x86_64-gcc-ada
https://packages.msys2.org/package/mingw-w64-x86_64-gprbuild
https://packages.msys2.org/package/mingw-w64-x86_64-make

Then using the make (the last link) to build using make all

I'm at a bit of a loss as to what to do about it.

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.

None yet

2 participants