Skip to content

Commit

Permalink
Try c build again :(
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 1, 2024
1 parent bf9b1fa commit f7c362c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
with:
submodules: true

- run: sudo apt-get install -y clang

- name: Use Python 3.12
uses: actions/setup-python@v5
with:
Expand All @@ -21,8 +23,6 @@ jobs:
c/requirements.txt
docs/requirements.txt
- run: sudo apt-get install -y clang

- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python
name: Py

on: push

Expand Down
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ LivInTheLookingGlass’s Project Euler solutions
:target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/javascript.yml
.. |Python| image:: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/python.yml/badge.svg
:target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/python.yml
.. |CodeQL| image:: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/c.yml/badge.svg
.. |CodeQL| image:: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/codeql.yml/badge.svg
:target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/codeql.yml
.. |Pages| image:: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/pages.yml/badge.svg
:target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/pages.yml
.. |br| raw:: html

<br/>
Expand All @@ -34,6 +36,8 @@ LivInTheLookingGlass’s Project Euler solutions
+------------+---------------------+--------------+--------------+
| CodeQL Scanning | |CodeQL| |
+-------------------------------------------------+--------------+
| Documentation (in progress) | |Pages| |
+-------------------------------------------------+--------------+

This is the repository I keep for prospective employers to look at
project Euler code that I have written.
Expand All @@ -58,5 +62,7 @@ Makefile will direct recipes using prefixes
- ``make cs*`` will go to the csharp Makefile
- ``make py*`` will go to the python Makefile
- ``make js*`` will go to the javascript Makefile
- Any make recipes supported by Sphinx will be redirected to the docs Makefile
- All other recipes will be run for all languages

For more information, please see the README documents in each section.
2 changes: 1 addition & 1 deletion docs/c/p0001.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ C Implementation of Problem 1

View source code `here on GitHub! <https://github.com/LivInTheLookingGlass/Euler/blob/master/c/p0001.c>`_

.. autocmodule:: ./p0001.c
.. autocmodule:: p0001.c
:members:
:undoc-members:
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
sys.path.insert(0, basedir)
sys.path.insert(0, basedir + os.sep + 'python')
c_autodoc_roots = [basedir + os.sep + 'c']
c_autodoc_compilation_args = ['-std=c11', '-DAMD_COMPILER=0']
js_source_path = basedir + os.sep + 'javascript'

project = 'Euler'
Expand Down

0 comments on commit f7c362c

Please sign in to comment.