Skip to content

Commit

Permalink
Merge branch 'docs' (adds build step to docs)
Browse files Browse the repository at this point in the history
Koeng101 committed Aug 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 448ba14 + 9c5f20a commit dd16037
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,21 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'

- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0

- name: Build Go shared library
working-directory: ./py
run:
CC="zig cc -target x86_64-linux-gnu" CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o dnadesign/libdnadesign.so -buildmode=c-shared lib.go

- name: Set up Python
uses: actions/setup-python@v2
with:

0 comments on commit dd16037

Please sign in to comment.