-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build,ci: provide (mostly) static builds via nix and burrito
Signed-off-by: Roman Volosatovs <[email protected]>
- Loading branch information
1 parent
d5351db
commit c9554b2
Showing
27 changed files
with
2,113 additions
and
728 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: build via Nix | ||
|
||
inputs: | ||
package: | ||
description: package specification to build | ||
required: true | ||
install-path: | ||
description: path within resulting output, from which to install (e.g. `/lib/libhostcore_wasmcloud_native.so`) | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- run: nix build -L '.#${{ inputs.package }}' | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: install Nix | ||
|
||
inputs: | ||
cachixAuthToken: | ||
description: auth token for https://app.cachix.org/organization/wasmcloud/cache/wasmcloud | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: DeterminateSystems/nix-installer-action@v2 | ||
with: | ||
extra-conf: | | ||
accept-flake-config = true | ||
- uses: cachix/cachix-action@v12 | ||
continue-on-error: true | ||
with: | ||
name: wasmcloud | ||
authToken: '${{ inputs.cachixAuthToken }}' |
Oops, something went wrong.