Skip to content

Commit

Permalink
feat: add wasm plugin for devenv
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 9, 2024
1 parent 5fee171 commit 0e00fcd
Show file tree
Hide file tree
Showing 10 changed files with 570 additions and 5 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/devenv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ci
on:
push:
branches:
- main
jobs:
devenv-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
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: devenv/plugin
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show devenv version
run: |
fluentci run plugin/target/wasm32-unknown-unknown/release/devenv.wasm setup
type devenv
devenv version
working-directory: devenv
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 14 additions & 5 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions devenv/plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/*
Loading

0 comments on commit 0e00fcd

Please sign in to comment.