aboutsummaryrefslogtreecommitdiffstatshomepage
AgeCommit message (Collapse)Author
2023-04-30Updating wording in 'for' exercisesDave Gauer
This is in preparation for another dive into 'for' in an upcoming Exercise 100. Also reformatted 095 for 65 columns and some wording.
2023-04-29Merge pull request #269 from perillo/fix-windows-deadlockChris Boesch
Fix deadlock on Windows
2023-04-29eowyn.sh: remove checking formatting one file at a timeManlio Perillo
This avoids unnecessary output. Also remove the comment, since the message to stdout makes it unnecessary.
2023-04-29test: make the patch command silentManlio Perillo
The POSIX standard says that the patch command should not use stdout, but GNU patch writes the message: patching file patches/healed/xxx.zig (read from exercises/xxx.zig). Add the -s flag to suppress these messages. Note that the heal function from test/tests.zig is called when running `zig build -Dhealed` because it is executed in the configure phase.
2023-04-29test: fix deadlock on windows when running testsManlio Perillo
The deadlock was caused by setting stdout behavior to ignore, when spawning the patch command. When the patch command writes to devnull it causes some errors and a deadlock. The cause of the bug is probably Zig using `\Device\Null` from `ntdll` while git-bash uses `NUL` from `kernel32`.
2023-04-29workflows: remove the custom windows only jobsManlio Perillo
Restore the job matrix to run on linux, macos and windows. Remove lines with extra whitespace. Improve the documentation of the Eowyn workflow. Remove the single quoting of the workflow names.
2023-04-29Update README.mdChris Boesch
2023-04-28Merge pull request #268 from chrboesch/mainChris Boesch
Switched back to bash on Windows
2023-04-28switched back to bash on windowsChris Boesch
2023-04-28switched back to bash on windowsChris Boesch
2023-04-28Merge pull request #267 from chrboesch/mainChris Boesch
Split github actions into 'Windows' and 'Linux/Mac' for using PowerShell on Windows
2023-04-28Split Windows with PowerShellChris Boesch
2023-04-28Update ci.ymlChris Boesch
2023-04-28Update ci.ymlChris Boesch
2023-04-28Update ci.ymlChris Boesch
2023-04-28Update ci.ymlChris Boesch
2023-04-28split in windows and uses PowerShellChris Boesch
2023-04-26step eowyn ranamedChris Boesch
2023-04-26fixed error time-out minutesChris Boesch
2023-04-26step names addes and switched to checkout v3Chris Boesch
2023-04-26step names added and switched to checkout v3Chris Boesch
2023-04-26fixed fail-fast errorChris Boesch
2023-04-26strategy error fixedChris Boesch
2023-04-26timeout error fixedChris Boesch
2023-04-26Merge pull request #259 from perillo/improve-github-workflowsChris Boesch
workflows: improve the jobs configuration
2023-04-26back to checkout@2Chris Boesch
2023-04-26back to checkout@v2Chris Boesch
2023-04-26workflows: improve the jobs configurationManlio Perillo
Reduce the timeout to 30 minutes for all the jobs, since it is enough. Set strategy.fail-fast to false, so that we can see the full logs.
2023-04-25Merge pull request #254 from chrboesch/toolsChris Boesch
Replacing Python-Tools with Zig-Tools
2023-04-25Merge pull request #258 from chrboesch/eowynChris Boesch
Version number added.
2023-04-25Version number added.Chris Boesch
2023-04-25Merge pull request #257 from chrboesch/eowynChris Boesch
Added a loop for the formatting test, so we can see where errors happen.
2023-04-25Added a loop for the formatting test, so we can see where errors happen.Chris Boesch
2023-04-25replaced update-patches.py with update-patches.zigChris Boesch
2023-04-25Merge pull request #255 from perillo/improve-ci-moreChris Boesch
Improve ci more
2023-04-25Merge pull request #256 from perillo/improve-more-2Chris Boesch
More improvements
2023-04-25Python isn't necessaryChris Boesch
2023-04-25.gitattributes: remove support for old files, add pythonManlio Perillo
Remove support for old .h, .cpp and .bat files. Set eol mode to lf for Python scripts. Closes #252
2023-04-25.gitignore: add zig-out, remove vim backup and swap filesManlio Perillo
Add the zig-out directory, since the install step is available. Remove the vim backup and swap files, since it is possible to configure vim to use a custom directory. Ensure all the directories are anchored to the root directory. Closes #251
2023-04-25workflow: add a test job to ci.ymlManlio Perillo
Add a job to run the ziglings unit tests, using `zig build test`.
2023-04-25workflows: use actions/checkout@v3Manlio Perillo
Use the new version of actions/checkout, since all Github Actions will begin running on Node16 instead of Node12. See https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
2023-04-25Fix formatting in exercise 99Manlio Perillo
The non-conforming formatting was not detected by the eowyn.sh script, due to a bug.
2023-04-25eowyn.sh: set the -e optionManlio Perillo
Currently, `zig fmt` exit status is ignored, making it useless. Ensure that the script terminates early if there is an error. Print a message to stdout before executing `zig fmt`, in order to make the possible error more visible.
2023-04-25eowyn: always quote variablesManlio Perillo
Quote all the variables, even though we know that it is safe. Fix coding style.
2023-04-25replaced check-exercises.pu with check-exercises.zigChris Boesch
2023-04-24Merge pull request #250 from perillo/improve-test-coverage-2Chris Boesch
Improve test coverage
2023-04-24timeout to 60 minutesChris Boesch
2023-04-24test: add a test for `zig build -Dn=1`Manlio Perillo
Add a test for `zig build -Dn=1` in order to test that a broken exercise will print an hint.
2023-04-24test: change the order of `zig build` optionsManlio Perillo
In test case 1 and 2, move the -Dhealed option before the -Dn option, for consistency. Fix a typo in cmd.setName in test case 1 and 2. Remove a confusing comment in test case 1.
2023-04-24test: add test for `zig build` and `zig build -Dn=1 start`Manlio Perillo
Add tests for `zig build` and `zig build -Dn=1 start`, in order to test that the all the exercises are processed in the correct order.