Skip to content

Commit

Permalink
Add downloads section for Microkit SDK
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Jul 1, 2024
1 parent 484c588 commit 199b941
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _data/projects/microkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,13 @@ repositories:
repo: microkit
- org: au-ts
repo: microkit_tutorial

sdk_downloads:
- version: 1.3.0
sdks:
- label: "microkit-sdk-1.3.0-linux-x86-64.tar.gz"
url: "https://github.com/seL4/microkit/releases/download/1.3.0/microkit-sdk-1.3.0-linux-x86-64.tar.gz"
- label: "microkit-sdk-1.3.0-macos-x86-64.tar.gz"
url: "https://github.com/seL4/microkit/releases/download/1.3.0/microkit-sdk-1.3.0-macos-x86-64.tar.gz"
- label: "microkit-sdk-1.3.0-macos-aarch64.tar.gz"
url: "https://github.com/seL4/microkit/releases/download/1.3.0/microkit-sdk-1.3.0-macos-aarch64.tar.gz"
14 changes: 14 additions & 0 deletions _includes/project-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@ <h3>Repositories</h3>
</li>
{% endfor %}

{% if project.sdk_downloads %}
<h3>SDK downloads</h3>
{% for release in project.sdk_downloads %}
<h4>{{ release.version }}</h4>
{% for sdk in release.sdks %}
<li>
<a class="" href="{{ sdk.url }}">
{{ sdk.label }}
</a>
</li>
{% endfor %}
{% endfor %}
{% endif %}

{% assign release_where_exp = "item.url contains '/releases/" | append: project.name | append: "/'" %}
{% assign releases = site['releases'] | where_exp:"item", release_where_exp %}
{% comment %}
Expand Down

0 comments on commit 199b941

Please sign in to comment.