Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yet-another-static-site-generator/yass
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1
Choose a base ref
...
head repository: yet-another-static-site-generator/yass
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 8, 2019

  1. Fix mangled link in README

    FossilOrigin-Name: 9c85dc4e8773ce12599bf8d32d501cc71843a9f8c02ef4fde69461b8d226742f
    web-flow committed Nov 8, 2019
    Copy the full SHA
    5212713 View commit details
  2. Merge pull request #2 from ingmar/patch-1

    Fix mangled link in README
    
    FossilOrigin-Name: 2df73d92b400b3835ae7f623265958dcb7a2de6a54eef4a16357b139759ff5b9
    web-flow committed Nov 8, 2019
    Copy the full SHA
    9c512b8 View commit details

Commits on Nov 12, 2019

  1. updated version number

    FossilOrigin-Name: 6ec42bf904efc8073ea45bac9ceca2d6f2c5724bb317da2940020096a03ac984
    thindil committed Nov 12, 2019
    Copy the full SHA
    4dc5792 View commit details
  2. updated code documentation

    FossilOrigin-Name: fef6b0e0f0aec370fbf4ee13029da7c0f06a43e23c31b82a088b9d78197d9162
    thindil committed Nov 12, 2019
    Copy the full SHA
    b5402d8 View commit details
  3. better info on unknown command

    FossilOrigin-Name: 6a3bbebe31e14ba6c03c4c37f3fd26f57ce26eb6992f7defaafe5d7eb03bdf67
    thindil committed Nov 12, 2019
    Copy the full SHA
    5fa104c View commit details
  4. Merge branch 'master' of github.com:yet-another-static-site-generator…

    …/yass
    
    FossilOrigin-Name: 83e8ae3750d2abc7ab6f3f3f47ab77de56f6ca16b2ce486b3ac2d3fb364cf5f2
    thindil committed Nov 12, 2019
    Copy the full SHA
    d6cd25c View commit details
  5. updated README.md

    FossilOrigin-Name: 563dbdc3b1f66e7f8c3649aa76f7e203fdde497c577a5f9cb1a05b9302e2a864
    thindil committed Nov 12, 2019
    Copy the full SHA
    284e1fe View commit details
  6. updated changelog

    FossilOrigin-Name: 1191fffe3e9d9a2f9d7b35f85201f06959c8caf46f4b7d7b7ac41adeab1a671a
    thindil committed Nov 12, 2019
    Copy the full SHA
    2fa6777 View commit details

Commits on Nov 13, 2019

  1. fixed server crash on lack of output directory

    FossilOrigin-Name: 337e96fa8c30b60330dd12e732f390bc0f8914136afb40d49ebcf2d18cbff362
    thindil committed Nov 13, 2019
    Copy the full SHA
    d6eb8ff View commit details
  2. updated changelog

    FossilOrigin-Name: a412fa6e36492132d696b302502e8a2e15b0a454f7d03702cfe99b7b15674f83
    thindil committed Nov 13, 2019
    Copy the full SHA
    c368d48 View commit details
  3. fixed adding Atom link to the pages

    FossilOrigin-Name: 54a62b2c03dd447ce877c63c1e62d240881930d78fe4a6fd951be1777b2b76b6
    thindil committed Nov 13, 2019
    Copy the full SHA
    23df176 View commit details
  4. updated changelog

    FossilOrigin-Name: f917f859b468551cbe037d4f87b8bef475bf91e7a09d7200d3f5ca6add6b0d88
    thindil committed Nov 13, 2019
    Copy the full SHA
    7b83d6c View commit details
  5. updated README.md

    FossilOrigin-Name: a7ffbd087cbf15f9d1033fd7da53e0da20897c2683940beb4e8ebe45da9619f0
    thindil committed Nov 13, 2019
    Copy the full SHA
    228cb66 View commit details

Commits on Nov 14, 2019

  1. fixed typos

    FossilOrigin-Name: 04102a40e71327f1329d25ed0a36ecb72e203ed50a503af32d6b3e212ac23e56
    thindil committed Nov 14, 2019
    Copy the full SHA
    f893c51 View commit details
  2. updated changelog

    FossilOrigin-Name: deb31f9a6faa97c4d4e2e2f42b1d4aeb3dd0be875cc9e35e5a1ad9933b713c80
    thindil committed Nov 14, 2019
    Copy the full SHA
    ca8d7f1 View commit details
  3. added AppStream metadata file

    FossilOrigin-Name: 92f49ab3fe633691f7ec09552ba435e7e315c6f54c7dc3b6ae5e93aad312c736
    thindil committed Nov 14, 2019
    Copy the full SHA
    12a0a00 View commit details
  4. updated build script

    FossilOrigin-Name: c397d7d974ea3b27fe5142ca2851475d2185675f81924b3e70ddad3bfc671bbf
    thindil committed Nov 14, 2019
    Copy the full SHA
    1b6caab View commit details

Commits on Nov 15, 2019

  1. updated README.md

    FossilOrigin-Name: 64517cb5b671985871102e509969dbae00c947c7f249b767fef412ae88c279d2
    thindil committed Nov 15, 2019
    Copy the full SHA
    ff858fe View commit details
  2. renamed create option to createnow

    FossilOrigin-Name: 9146ede1822e2eaeb7b0929ced313fa1ca0ba486cb57ade9359c6fa335ebeb95
    thindil committed Nov 15, 2019
    Copy the full SHA
    3f26966 View commit details
  3. updated changelog

    FossilOrigin-Name: 9573e2953a9ff742a08c11224c80e8ae723c1fed24d010f864e4e0ffb43727ae
    thindil committed Nov 15, 2019
    Copy the full SHA
    7a2abdb View commit details
  4. updated user documentation

    FossilOrigin-Name: 950b9b6970e4346f867964fa3d365ace18500dbf94046c610c560c389719052e
    thindil committed Nov 15, 2019
    Copy the full SHA
    cf8b363 View commit details
  5. added coloring the program messages

    FossilOrigin-Name: 74517bc3e9ff8ec1fcec5797a8b161234bcd80da95417c9a3a8496e445ad94cd
    thindil committed Nov 15, 2019
    Copy the full SHA
    62d60e8 View commit details
  6. updated code documentation

    FossilOrigin-Name: 7e99d3ae257456e5cf231bc22420116b94d0c4d88fa3cbcee4762bcb9f215964
    thindil committed Nov 15, 2019
    Copy the full SHA
    f4b5307 View commit details

Commits on Nov 16, 2019

  1. updated changelog

    FossilOrigin-Name: 5d20b472a0ebf15eddc5835105c689da7f06ef18eb66edaab2b698fd38c30a26
    thindil committed Nov 16, 2019
    Copy the full SHA
    6a3ba91 View commit details
  2. started work on interactive creation of new site project

    FossilOrigin-Name: d2921b382559903f73737002f1716b055a9792fa5ee41ce1a969ead6fd9bfc6c
    thindil committed Nov 16, 2019
    Copy the full SHA
    1e46f1d View commit details
  3. continue work on interactive creation of new sites

    FossilOrigin-Name: dcb384381cf28c0d186236f42c8dda2b0fde70521017c80b3bcfd97f7078ad5c
    thindil committed Nov 16, 2019
    Copy the full SHA
    4349e35 View commit details
  4. added missing read the user input

    FossilOrigin-Name: cc9d80206674326737baaf4fe13cc9ad2d82743d4e72f714193c823fb9704c75
    thindil committed Nov 16, 2019
    Copy the full SHA
    28ab2b3 View commit details
  5. added missing configuration comments

    FossilOrigin-Name: 31ef05cdd29fc16dd675769e70c019711b0c83c0d825f52a240988bc1251e7d3
    thindil committed Nov 16, 2019
    Copy the full SHA
    7a840aa View commit details
  6. finished work on interactive creation of new sites

    FossilOrigin-Name: 9b1ed86d59abfcd21ca0e92dd905d944375ba0e17ec0656a847b6df829838da4
    thindil committed Nov 16, 2019
    Copy the full SHA
    251ce90 View commit details

Commits on Nov 17, 2019

  1. updated changelog

    FossilOrigin-Name: 02b660ab948ac299e5fb2efdcf859b7c476a8bc04c7f73285b0603de0a174dbe
    thindil committed Nov 17, 2019
    Copy the full SHA
    e927258 View commit details
  2. updated user documentation

    FossilOrigin-Name: 3db844380be5527a21cf9079eb70eb9b3f6bb90fc9d46d2c4a2fd96f76f9f7d4
    thindil committed Nov 17, 2019
    Copy the full SHA
    888debb View commit details
  3. updated release date

    FossilOrigin-Name: 65fbe9c974d03a019186f702ecd96c0558a284ed25334d6599efbb8d66d755c8
    thindil committed Nov 17, 2019
    Copy the full SHA
    2c94373 View commit details
  4. updated the program version

    FossilOrigin-Name: 1a986fd75cdb4df440b064b41ef941aa18a1fd818588c25a82f8a4fe19ae0d11
    thindil committed Nov 17, 2019
    Copy the full SHA
    2eee789 View commit details
  5. updated code documentation

    FossilOrigin-Name: a372c578a07bdb62fce9cac599343b2a1c1bd5c3d4773132f1be8aed0d9a75d1
    thindil committed Nov 17, 2019
    Copy the full SHA
    42ad1e4 View commit details
  6. updated the program version

    FossilOrigin-Name: e0251af6e526ca2efe6e53f5b1a161c124c05bdaf009ef53c557af77f3249539
    thindil committed Nov 17, 2019
    Copy the full SHA
    c2aca23 View commit details
  7. updated changelog

    FossilOrigin-Name: 7a47a92f62dc77883ceefb60c2fe05631af8a96fdcf7aaa59daf454b5e2b88bb
    thindil committed Nov 17, 2019
    Copy the full SHA
    f0000a3 View commit details

Commits on Jun 17, 2020

  1. better detection of included library

    FossilOrigin-Name: b46cfae082a4cfb51c2095bab28b31c98455e5f0fe7ffcaac25b4dfc77ebb9d1
    thindil committed Jun 17, 2020
    Copy the full SHA
    59ac860 View commit details

Commits on Mar 29, 2021

  1. updated RoboDOC configuration

    FossilOrigin-Name: 761ca8f34bc8d7cc674fcaa222d4357692ed4f82de74267ad91533d023742beb
    thindil committed Mar 29, 2021
    Copy the full SHA
    29b79cb View commit details
  2. updated RoboDOC CSS style

    FossilOrigin-Name: f02964dfa9a8343f1157b083e8b5566879e488f519b3f92fba112226535161bb
    thindil committed Mar 29, 2021
    Copy the full SHA
    e5d9753 View commit details

Commits on Apr 1, 2021

  1. added bob push command

    FossilOrigin-Name: 81ecff295929fe00096dbb6639f3f2191b258c9fa4b05cfe49df15e1a808e52a
    thindil committed Apr 1, 2021
    Copy the full SHA
    c519cf9 View commit details
  2. updated README.md

    FossilOrigin-Name: 382b269d6d02f0d72897d6cbe5b703667307254c361ff8f242a4a2a2def481c4
    thindil committed Apr 1, 2021
    Copy the full SHA
    a3ee642 View commit details

Commits on Apr 2, 2021

  1. removed Travis CI configuration

    FossilOrigin-Name: 2fae61b76dc8d5be8af610cbf1d6c79c6e59b761c04714c292ca71c234aa1e4c
    thindil committed Apr 2, 2021
    Copy the full SHA
    6567695 View commit details
  2. added GitHub workflow to automaticaly close pull requests

    FossilOrigin-Name: 2d4c00841d6686099afd437efc2e0acc3f3adfa56b4897f2f2fabc5ee7b5692e
    thindil committed Apr 2, 2021
    Copy the full SHA
    9d7567d View commit details

Commits on Apr 3, 2021

  1. updated README.md

    FossilOrigin-Name: 2962ddad99fdecac3842cf630fcfa9e2f636d8b76c67d86d8e01aa43f9e5e57c
    thindil committed Apr 3, 2021
    Copy the full SHA
    49eb26f View commit details
  2. replaced script to generate documentation with new version

    FossilOrigin-Name: 56ecacce71ed3630645811c58730986debbe700800d32cd251c0f246d19d7eb4
    thindil committed Apr 3, 2021
    Copy the full SHA
    bfca22e View commit details

Commits on Apr 4, 2021

  1. updated bob docs command

    FossilOrigin-Name: e7ac97865ce519e88f9001da87e1bb6f60ce238c47cb7394782133b235f56e15
    thindil committed Apr 4, 2021
    Copy the full SHA
    dfffc13 View commit details
  2. replaced build script with Tcl version

    FossilOrigin-Name: ba83d1f3e94ec1801ab784f3427b3f5e2831afd9df3555d30659814291f29280
    thindil committed Apr 4, 2021
    Copy the full SHA
    b3fcb7f View commit details

Commits on Apr 5, 2021

  1. added build Windows version to build script

    FossilOrigin-Name: 726ddab675dcc9aa470058224ebf95717f374f15074ac3bbc4bfd72b19a7fbfe
    thindil committed Apr 5, 2021
    Copy the full SHA
    f5ed51e View commit details
  2. added setting path for libcmark

    FossilOrigin-Name: 5f5d8f3ee172a6c1b124a276924f520bc0803c422c9136524f9a103728b7d644
    thindil committed Apr 5, 2021
    Copy the full SHA
    9798c43 View commit details

Commits on Apr 6, 2021

  1. updated README.md

    FossilOrigin-Name: 39c7013c4ec3956a9d9003147270de025a60d1df950de5a3250caa0e733f71ab
    thindil committed Apr 6, 2021
    Copy the full SHA
    c44e9a8 View commit details
Showing with 6,472 additions and 3,284 deletions.
  1. +52 −9 .bob.yml
  2. +2 −0 .github/FUNDING.yml
  3. +100 −0 .github/workflows/ada.yml
  4. +87 −0 .github/workflows/build_release.yml
  5. +17 −0 .github/workflows/lockdown.yml
  6. +17 −0 .gitignore
  7. +0 −34 .travis.yml
  8. +12 −21 CONTRIBUTING.md
  9. +82 −37 README.md
  10. +40 −0 alire.toml
  11. +114 −0 docs/code/atomfeed_adb.html
  12. +78 −48 docs/code/atomfeed_ads.html
  13. +158 −111 docs/code/config_ads.html
  14. +72 −42 docs/code/index.html
  15. +21 −15 docs/code/layouts_ads.html
  16. +102 −0 docs/code/messages_ads.html
  17. +21 −17 docs/code/modules_ads.html
  18. +46 −36 docs/code/pages_ads.html
  19. +45 −0 docs/code/robo_constants.html
  20. +8 −6 docs/code/robo_exceptions.html
  21. +11 −8 docs/code/robo_packages.html
  22. +37 −23 docs/code/robo_subprograms.html
  23. +8 −6 docs/code/robo_tasks.html
  24. +13 −10 docs/code/robo_types.html
  25. +16 −8 docs/code/robo_variables.html
  26. +47 −45 docs/code/robodoc.css
  27. +10 −0 docs/code/robodoc.js
  28. +53 −0 docs/code/server_adb.html
  29. +32 −29 docs/code/server_ads.html
  30. +144 −0 docs/code/sitemaps_adb.html
  31. +36 −22 docs/code/sitemaps_ads.html
  32. +22 −5 docs/code/sources.html
  33. +71 −44 docs/code/toc_index.html
  34. +99 −0 docs/code/yass_adb.html
  35. +48 −0 docs/user/changes.md
  36. +37 −31 docs/user/configuration.md
  37. +15 −13 docs/user/details.md
  38. +21 −21 docs/user/extending.md
  39. +9 −9 docs/user/index.md
  40. +46 −12 docs/user/installation.md
  41. +39 −27 docs/user/pages.md
  42. +6 −3 docs/user/quickstart.md
  43. +1 −0 docs/user/site.cfg
  44. +13 −13 docs/user/tags.md
  45. +1 −1 gnat.adc
  46. +0 −1 others/AppRun
  47. +20 −9 others/README.md
  48. +0 −12 others/build.sh
  49. +55 −0 others/build.tcl
  50. +27 −0 others/check.tcl
  51. +0 −78 others/generatedocs.py
  52. +93 −0 others/generatedocs.tcl
  53. +47 −45 others/robodoc.css
  54. +83 −22 others/robodocada.rc
  55. +32 −0 others/rules.aru
  56. +16 −0 others/tests.tcl
  57. +19 −0 others/yass.appdata.xml
  58. +328 −183 src/atomfeed.adb
  59. +49 −30 src/atomfeed.ads
  60. +687 −213 src/config.adb
  61. +118 −83 src/config.ads
  62. +70 −42 src/layouts.adb
  63. +11 −7 src/layouts.ads
  64. +43 −0 src/messages.adb
  65. +51 −0 src/messages.ads
  66. +209 −129 src/modules.adb
  67. +11 −9 src/modules.ads
  68. +498 −296 src/pages.adb
  69. +23 −15 src/pages.ads
  70. +244 −149 src/server.adb
  71. +11 −11 src/server.ads
  72. +297 −127 src/sitemaps.adb
  73. +12 −7 src/sitemaps.ads
  74. +371 −211 src/yass.adb
  75. +6 −2 tests/atomfeed-test_data-tests-feedentry_container-test_data-tests.ads
  76. +8 −8 tests/atomfeed-test_data-tests-feedentry_container-test_data.adb
  77. +9 −5 tests/atomfeed-test_data-tests-feedentry_container-test_data.ads
  78. +183 −47 tests/atomfeed-test_data-tests.adb
  79. +13 −12 tests/atomfeed-test_data-tests.ads
  80. +4 −5 tests/atomfeed-test_data.adb
  81. +2 −2 tests/atomfeed-test_data.ads
  82. +5 −2 tests/config-test_data-tests-excluded_container-test_data-tests.ads
  83. +8 −8 tests/config-test_data-tests-excluded_container-test_data.adb
  84. +9 −5 tests/config-test_data-tests-excluded_container-test_data.ads
  85. +5 −2 tests/config-test_data-tests-tabletags_container-test_data-tests.ads
  86. +8 −8 tests/config-test_data-tests-tabletags_container-test_data.adb
  87. +9 −5 tests/config-test_data-tests-tabletags_container-test_data.ads
  88. +5 −2 tests/config-test_data-tests-tags_container-test_data-tests.ads
  89. +8 −8 tests/config-test_data-tests-tags_container-test_data.adb
  90. +9 −5 tests/config-test_data-tests-tags_container-test_data.ads
  91. +78 −20 tests/config-test_data-tests.adb
  92. +7 −6 tests/config-test_data-tests.ads
  93. +4 −5 tests/config-test_data.adb
  94. +2 −2 tests/config-test_data.ads
  95. +28 −26 tests/driver/atomfeed-test_data-tests-suite.adb
  96. +0 −38 tests/driver/config-test_data-tests-suite.adb
  97. +0 −12 tests/driver/config-test_data-tests-suite.ads
  98. +91 −55 tests/driver/gnattest.xml
  99. +19 −2 tests/driver/gnattest_common.gpr
  100. +8 −8 tests/driver/gnattest_main_suite.adb
  101. +0 −38 tests/driver/layouts-test_data-tests-suite.adb
  102. +0 −12 tests/driver/layouts-test_data-tests-suite.ads
  103. +0 −32 tests/driver/modules-test_data-tests-suite.adb
  104. +0 −12 tests/driver/modules-test_data-tests-suite.ads
  105. +0 −50 tests/driver/pages-test_data-tests-suite.adb
  106. +0 −12 tests/driver/pages-test_data-tests-suite.ads
  107. +0 −38 tests/driver/server-test_data-tests-suite.adb
  108. +0 −12 tests/driver/server-test_data-tests-suite.ads
  109. +0 −44 tests/driver/sitemaps-test_data-tests-suite.adb
  110. +0 −12 tests/driver/sitemaps-test_data-tests-suite.ads
  111. +1 −4 tests/driver/test_driver.gpr
  112. +1 −1 tests/driver/test_runner.adb
  113. +0 −1 tests/driver/test_yass.gpr
  114. +65 −20 tests/layouts-test_data-tests.adb
  115. +8 −6 tests/layouts-test_data-tests.ads
  116. +4 −5 tests/layouts-test_data.adb
  117. +2 −2 tests/layouts-test_data.ads
  118. +93 −0 tests/messages-test_data-tests.adb
  119. +17 −0 tests/messages-test_data-tests.ads
  120. +6 −7 tests/{server-test_data.adb → messages-test_data.adb}
  121. +4 −4 tests/{server-test_data.ads → messages-test_data.ads}
  122. +43 −10 tests/modules-test_data-tests.adb
  123. +5 −4 tests/modules-test_data-tests.ads
  124. +4 −5 tests/modules-test_data.adb
  125. +2 −2 tests/modules-test_data.ads
  126. +168 −40 tests/pages-test_data-tests.adb
  127. +11 −10 tests/pages-test_data-tests.ads
  128. +4 −5 tests/pages-test_data.adb
  129. +2 −2 tests/pages-test_data.ads
  130. +9 −0 tests/prettytests.gpr
  131. +0 −83 tests/server-test_data-tests.adb
  132. +0 −19 tests/server-test_data-tests.ads
  133. +64 −30 tests/sitemaps-test_data-tests.adb
  134. +9 −8 tests/sitemaps-test_data-tests.ads
  135. +4 −5 tests/sitemaps-test_data.adb
  136. +2 −2 tests/sitemaps-test_data.ads
  137. +82 −62 yass.gpr
61 changes: 52 additions & 9 deletions .bob.yml
Original file line number Diff line number Diff line change
@@ -12,9 +12,7 @@
- command:
name: release
execute:
- gprclean -P yass.gpr
- others/build.sh
- gprclean -P yass.gpr
- tclsh others/build.tcl
description: Build yass in release mode
- command:
name: analyze
@@ -31,18 +29,63 @@
execute:
- gnattest -P yass.gpr
description: Regenerate unit tests
- command:
name: tests
execute:
- gprbuild -P tests/driver/test_driver.gpr
description: Build yass unit tests
- command:
name: docs
execute:
- others/generatedocs.py
- others/generatedocs.tcl
description: Generate code documentation
- command:
name: gprof
execute:
- gprof bin/yass gmon.out
description: Generate gprof report
- command:
name: push
execute:
- fossil push
- fossil git export --force
description: Update remote Fossil repository and its Git mirror
- command:
name: windows
execute:
- sudo docker run --rm -w /app -v $PWD:/app ghcr.io/thindil/adabuildwin64:10 /bin/bash others/build.tcl x86_64-windows
description: Build yass release for Windows on Linux
flags:
- unixonly
- command:
name: tests
execute:
- tclsh others/tests.tcl
description: Build and run yass unit tests
- command:
name: pretty
execute:
- gnatpp -P yass.gpr
- gnatpp -P tests/prettytests.gpr
description: Pretty print yass source code
- command:
name: prettytests
execute:
- gnatpp -P tests/prettytests.gpr
description: Pretty print unit tests source code
- command:
name: check
execute:
- sudo docker run --rm -w /app -v $PWD:/app ghcr.io/thindil/adacontrol:9 /bin/bash others/check.tcl
description: Run AdaControl to check correctness of the code required argument is full path to the program source code
flags:
- unixpath
- command:
name: checkall
execute:
- bob debug
- bob tests
- bob check
description: Run all the project tests
- command:
name: checkfile
execute:
- sudo docker run --rm -w /app -v $PWD:/app ghcr.io/thindil/adacontrol:9 /bin/bash others/check.tcl $1
description: Run AdaControl to check correctness of the selected file. Required argument is the relative path to the file which will be check
flags:
- unixpath
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
patreon: ajdude
liberapay: thindil
100 changes: 100 additions & 0 deletions .github/workflows/ada.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Continuous Integration

on:
push:
branches: [ master ]

jobs:

tests:

runs-on: ubuntu-latest

container: ghcr.io/thindil/adabuild:10

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Generate tests
run: gnattest -P yass.gpr

- name: Build the tests
run: gprbuild -P tests/driver/test_driver.gpr

- name: Run the tests
run: others/tests.tcl

adacontrol:

needs: tests

runs-on: ubuntu-latest

container: ghcr.io/thindil/adacontrol:9

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Run AdaControl
run: |
mkdir obj
cd obj
adactl -f ../others/rules.aru -p ../yass.gpr -o ../adacontrol.log -r yass-aws-templates_parser-dom-unicode-input_sources-aws_config-aws_net_log
cd ..
- name: Upload the log
uses: actions/upload-artifact@v2
if: failure()
with:
name: adacontrol.log
path: adacontrol.log

build_linux:

needs: adacontrol

runs-on: ubuntu-latest

container: ghcr.io/thindil/adabuild:10

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build the program
run: others/build.tcl x86_64-linux-gnu

- name: Compress the artifact
run: tar -cf yass-development-linux.tar usr

- name: Upload the artifact
uses: actions/upload-artifact@v2
with:
name: yass-development-linux.tar
path: yass-development-linux.tar

build_windows:

needs: adacontrol

runs-on: ubuntu-latest

container: ghcr.io/thindil/adabuildwin64:10

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build the program
run: others/build.tcl x86_64-windows

- name: Compress the artifact
run: tar -cf yass-development-windows.tar release

- name: Upload the artifact
uses: actions/upload-artifact@v2
with:
name: yass-development-windows.tar
path: yass-development-windows.tar
87 changes: 87 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Build Release
on:
workflow_dispatch:

jobs:
### x86-64 linux
build-linux_x86_64:

runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up alire
uses: alire-project/setup-alire@v3

- name: Build yass
run: >
alr -n update &&
alr -n build --release
- name: Compress yass
run: zip -r yass-linux_x86_64.zip bin

- name: Upload yass
uses: actions/upload-artifact@v2
with:
name: yass-linux_x86_64.zip
path: yass-linux_x86_64.zip

### x86-64 MacOS
build-macos_x86_64:
runs-on: macos-13

steps:

- name: Checkout
uses: actions/checkout@v3

- name: install latest xcode stuff
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Set up alire
uses: alire-project/setup-alire@v3

- name: Build yass
run: >
alr -n update &&
alr -n build --release
- name: Compress yass
run: zip -r yass-mac_x86_64.zip bin

- name: Upload yass
uses: actions/upload-artifact@v2
with:
name: yass-mac_x86_64.zip
path: yass-mac_x86_64.zip

### build on windows
build-windows:
runs-on: windows-latest

steps:

- name: Checkout
uses: actions/checkout@v3

- name: Set up alire
uses: alire-project/setup-alire@v3

- name: Build yass
run: >
alr -n update &&
alr -n build --release
- name: Compress yass
run: 7z a -tzip yass-win.zip bin

- name: upload yass
uses: actions/upload-artifact@v2
with:
name: yass-win.zip
path: yass-win.zip
17 changes: 17 additions & 0 deletions .github/workflows/lockdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Lock down repository'

on:
pull_request:
types: opened

jobs:
lockdown:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@v2
with:
github-token: ${{ github.token }}
pr-comment: >
This repository does not accept pull requests,
see the README for details.
skip-closed-pr-comment: true
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -2,3 +2,20 @@ bin
obj
tests/driver/test_runner
docs/user/_output
/obj/
/bin/
/alire/
/config/
.DS_Store
Thumbs.db
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*
*.cab
*.msi
*.msix
*.msm
*.msp
*.code-workspace
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

Loading