Skip to content

Commit

Permalink
CI: Use build.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
mchack-work committed Dec 12, 2023
1 parent bdba0ef commit 6ed53db
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,13 @@ jobs:
# 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
run: ./build.sh

- name: lint go code
run: make lint
Expand Down

0 comments on commit 6ed53db

Please sign in to comment.