Move tkey-runapp and qemu script to tkey-tools #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: {} | |
# allow manual runs: | |
workflow_dispatch: {} | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/tillitis/tkey-builder:2 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
# fetch-depth: 0 | |
persist-credentials: false | |
- name: Clone tkey-libs | |
uses: actions/checkout@v3 | |
with: | |
repository: tillitis/tkey-libs | |
ref: main | |
path: tkey-libs | |
- name: fix | |
# https://github.com/actions/runner-images/issues/6775 | |
run: | | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Build tkey-libs | |
run: | | |
cd tkey-libs | |
make | |
- name: Clone signer | |
uses: actions/checkout@v3 | |
with: | |
repository: tillitis/tkey-device-signer | |
ref: main | |
path: tkey-device-signer | |
- name: make signer | |
run: make -j -C tkey-device-signer LIBDIR=../tkey-libs | |
- name: Copy signer | |
run: cp tkey-device-signer/signer/app.bin cmd/tkey-ssh-agent/app.bin | |
- name: make | |
run: make -j LIBDIR=../tkey-libs | |
- name: lint go code | |
run: make lint | |
- name: check fmt of c code | |
run: make -C apps checkfmt | |
- name: check for SPDX tags | |
run: ./tools/spdx-ensure |