Skip to content

Commit

Permalink
Upload a zip of SDK with CI
Browse files Browse the repository at this point in the history
We upload an artifact of the entire device app SDK that can be
directly used as LIBDIR for device apps. It includes all include
files, the libraries, the linker script, and some short documentation.

Retention of the artifact is right now just set to 2 days, so if you
want to make a proper release be sure to copy it.

Co-authored-by: Michael Cardell Widerkrantz <[email protected]>
  • Loading branch information
dehanj and mchack-work committed Feb 13, 2024
1 parent f53a2b5 commit 4c57f87
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
image: ghcr.io/tillitis/tkey-builder:2
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# fetch-depth: 0
persist-credentials: false
Expand All @@ -34,3 +34,17 @@ jobs:

- name: check for SPDX tags
run: ./tools/spdx-ensure

- name: Archive
uses: actions/upload-artifact@v4
with:
name: tkey-libs
retention-days: 2
path: |
README-DIST.txt
app.lds
LICENSE
include/*
*.a
monocypher/*.h
monocypher/LICENSE
40 changes: 40 additions & 0 deletions README-DIST.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
tkey-libs binary distribution

This is the binary distribution of:

https://github.com/tillitis/tkey-libs

Which is an SDK for developing device apps for the Tillitis TKey in C.
Please see the TKey Developer Handbook for more:

https://dev.tillitis.se/

and the company web site:

https://tillitis.se/

You should be able to use this distribution directly in device apps
simply by pointing LIBDIR to where you unpacked this archive:

make LIBDIR=~/Download/tkey-libs

Copyright Tillitis AB.

These programs are free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, version 2 only.

These programs are distributed in the hope that they will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see:

https://www.gnu.org/licenses

See LICENSE for the full GPLv2-only license text.

Note that Monocypher is Copyright Loup Vaillant and released under CC0
1.0 Universal, see monocypher/LICENSE.
1 change: 1 addition & 0 deletions tools/spdx-ensure
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ missingok_files=(
LICENSE
Makefile
README.md
README-DIST.txt
RELEASE.md
example-app/Makefile
monocypher/LICENSE
Expand Down

0 comments on commit 4c57f87

Please sign in to comment.