delph-in / erg

English Resource Grammar
MIT License
18 stars 3 forks source link

Add GH action to compile and upload .dat file #51

Closed goodmami closed 3 months ago

goodmami commented 3 months ago

This adds a GitHub Action script that downloads ACE, compiles the grammar, and uploads the .dat.bz2 file to a specified release. You specify the tag name of the release to use, such as 2023, and it will check out the grammar for that tag and upload to the release of the same tag, assuming the tag and release exist.

Limitations:

goodmami commented 3 months ago

One more thing: This script does not yet retrieve the redwoods.mem file from LFS. Should I do that prior to compiling the grammar?

Speaking of compiling the grammar, currently I only do a call like ace -g ace/config.tdl -G erg.dat: https://github.com/delph-in/erg/pull/51/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R35

Do you do something different?