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

Cache on linux #134

Merged
merged 4 commits into from
Apr 19, 2024
Merged

Cache on linux #134

merged 4 commits into from
Apr 19, 2024

Conversation

ErikSchierboom
Copy link
Member

No description provided.

@ErikSchierboom ErikSchierboom force-pushed the cache-linux branch 17 times, most recently from 3f6de21 to 34e46e0 Compare April 19, 2024 12:23
@ErikSchierboom
Copy link
Member Author

It's more of a hassle than Windows, so I'm gonna close this

@ErikSchierboom
Copy link
Member Author

@axtens I'm trying to simplify the Unix workflow which takes a long time to execute. There is a built-in package we can install, but it errors on:

test.cob: 820: error: 'CONCAT' is not defined

@axtens
Copy link
Member

axtens commented Apr 19, 2024

So you have a context for that, ie which test?

@ErikSchierboom
Copy link
Member Author

@ErikSchierboom
Copy link
Member Author

@axtens Now it's two-fer:

Checking two-fer practice exercise...
Found cobolcheck, using ./bin/cobolcheck
CobolCheck: INFO 2024-04-19T13:33:08.779554Z INF001: Attempting to load config from config.properties.
CobolCheck: INFO 2024-04-19T13:33:08.779708Z INF002: Loaded config successfully from config.properties.
CobolCheck: INFO 2024-04-19T13:33:08.779726Z INF003: Cobol-Check starting
CobolCheck: INFO 2024-04-19T13:33:08.779735Z INF005: Log level is INFO.
CobolCheck: INFO 2024-04-19T13:33:08.779743Z INF006: Configuration settings: production.
CobolCheck: INFO 2024-04-19T13:33:08.780071Z INF014: Error log for the test suite parser is set to: /home/runner/work/cobol/cobol/exercises/practice/two-fer/ParserErrorLog.txt.
CobolCheck: INFO 2024-04-19T13:33:08.780353Z INF013: Output for generated COBOL test program is set to: /home/runner/work/cobol/cobol/exercises/practice/two-fer/test.cob.
CobolCheck: INFO 2024-04-19T13:33:08.783846Z INF012: Successfully generated COBOL test program for src/two-fer.
CobolCheck: INFO 2024-04-19T13:33:08.783903Z INF004: Cobol-Check terminating: 0
COMPILE AND RUN TEST
test.cob: in paragraph 'TWO-FER':
test.cob: 487: error: FUNCTION 'CONCAT' unknown
two-fer: proof solution did not pass the tests

@ErikSchierboom ErikSchierboom merged commit 40ed166 into main Apr 19, 2024
3 checks passed
@ErikSchierboom ErikSchierboom deleted the cache-linux branch April 19, 2024 13:36
@ErikSchierboom
Copy link
Member Author

Thanks!

axtens added a commit that referenced this pull request Apr 19, 2024
* Try install

* CONCAT -> CONCATENATE

* CONCATENATE is two-fer

---------

Co-authored-by: Bruce Axtens <bruce.axtens@gmail.com>
axtens added a commit to kapitaali/exercism-cobol-track that referenced this pull request Apr 19, 2024
* Try install

* CONCAT -> CONCATENATE

* CONCATENATE is two-fer

---------

Co-authored-by: Bruce Axtens <bruce.axtens@gmail.com>
axtens added a commit that referenced this pull request Apr 20, 2024
* adding protein-translation

* fixed config.json for protein-translation

* fixing .cut file + proof

* Update exercises/practice/protein-translation/bin/fetch-cobolcheck.ps1

Co-authored-by: Victor Goff <keeperotphones@gmail.com>

* Update exercises/practice/protein-translation/src/protein-translation.cob

Co-authored-by: Victor Goff <keeperotphones@gmail.com>

* Sync the `scrabble-score` exercise's docs with the latest data. (#126)

* Sync the `all-your-base` exercise's docs with the latest data. (#127)

* Simplify test workflow (#129)

* Format config.json file (#131)

* file patterns (#132)

* Add file patterns

* Update files keys

* Pre-fetch cobolcheck (#130)

* Pre-fetch cobolcheck

* Use home dir

* Fetch cobolcheck on windows

* Allow for pre-installed cobolcheck

* from appveyor to sourceforge (#128)

* from appveyor to sourceforge

* different server

* 7z

* 7z

* yaml issue fixed

* slashes

* 7z oddities

* directories

* $HOME ?

* atbash tweak

* cache management fix

* commented out extraneous DISPLAY in proof.ci.cob files

* eol issue

* line ends fixed

* strangenesses

* SPACE instead of "" in CUT files

* Trim additional line

* Debug

* Try simplify environment variables

* More debugging

* More tweaking

* Fix path

* Fix path

* Fix path

* Fix env

* Streamline

* eof is lf

* acronym

* acronym

* sqrt

* Fix paths

* Fix cache path

---------

Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>

* Try fix Windows caching (#133)

* Try fix caching

* Try fix cache path

* Try include cobolcheck

* Try include cobolcheck

* Use home dir

* Use home dir

* Update proof.ci.cob (#135)

function all intrinsic on its own line

* Cache on linux (#134)

* Try install

* CONCAT -> CONCATENATE

* CONCATENATE is two-fer

---------

Co-authored-by: Bruce Axtens <bruce.axtens@gmail.com>

---------

Co-authored-by: Bruce Axtens <bruce.axtens@gmail.com>
Co-authored-by: Victor Goff <keeperotphones@gmail.com>
Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
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