Skip to content

Commit

Permalink
feat: add wasm plugin for nix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 8, 2024
1 parent 085231d commit 2044741
Show file tree
Hide file tree
Showing 11 changed files with 543 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ci
on:
push:
branches:
- main
jobs:
devbox-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: rust
args: |
target_add wasm32-unknown-unknown
build --release --target wasm32-unknown-unknown
working-directory: nix/plugin
- name: Show nix version
run: |
fluentci run plugin/target/wasm32-unknown-unknown/release/nix.wasm setup
type nix
nix --version
working-directory: nix
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions devbox/plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Devbox Plugin

[![ci](https://github.com/fluentci-io/cue-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/fluentci-io/cue-plugin/actions/workflows/ci.yml)

This plugin sets up your CI/CD pipeline with a specific version of [devbox](https://www.jetify.com/devbox/).

## 🚀 Usage
Expand Down
1 change: 1 addition & 0 deletions nix/plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/*
Loading

0 comments on commit 2044741

Please sign in to comment.