Skip to content

Commit c9554b2

Browse files
committed
build,ci: provide (mostly) static builds via nix and burrito
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent d5351db commit c9554b2

27 files changed

+2113
-728
lines changed

.github/actions/build-nix/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: build via Nix
2+
3+
inputs:
4+
package:
5+
description: package specification to build
6+
required: true
7+
install-path:
8+
description: path within resulting output, from which to install (e.g. `/lib/libhostcore_wasmcloud_native.so`)
9+
10+
runs:
11+
using: composite
12+
steps:
13+
- run: nix build -L '.#${{ inputs.package }}'
14+
shell: bash
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: install Nix
2+
3+
inputs:
4+
cachixAuthToken:
5+
description: auth token for https://app.cachix.org/organization/wasmcloud/cache/wasmcloud
6+
7+
runs:
8+
using: composite
9+
steps:
10+
- uses: DeterminateSystems/nix-installer-action@v2
11+
with:
12+
extra-conf: |
13+
accept-flake-config = true
14+
- uses: cachix/cachix-action@v12
15+
continue-on-error: true
16+
with:
17+
name: wasmcloud
18+
authToken: '${{ inputs.cachixAuthToken }}'

0 commit comments

Comments
 (0)