Skip to content

Commit

Permalink
update workflow, switch to Rust runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed May 31, 2021
1 parent e05e4f4 commit d9dda54
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: wget
run: mkdir ci-bin/ && wget -O ci-bin/cr_once http://repo.calcit-lang.org/binaries/linux/cr_once
- name: "permission"
run: chmod +x ci-bin/cr_once

- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV

- name: add cr
run: |
mkdir -p $GITHUB_WORKSPACE/bin
wget -O $GITHUB_WORKSPACE/bin/cr http://repo.calcit-lang.org/binaries/linux/cr
chmod +x $GITHUB_WORKSPACE/bin/cr
echo "::add-path::$GITHUB_WORKSPACE/bin"
- name: "prepare modules"
run: mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/ && echo 'no deps'

- name: "test"
run: env=ci ./ci-bin/cr_once
run: env=ci cr -1
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@

Phlox Calcit Workflow
Calcit Workflow
----

> for phlox.calcit .
### Usages

Install [calcit-runner](https://github.com/Cirru/calcit-runner.nim) to run demo:
Install [calcit-runner](https://github.com/Cirru/calcit_runner.rs) to run demo:

```bash
cr
```

Notice that the loaded modules comes from [phlox.calcit](https://github.com/Quamolit/phlox.calcit).

### Difference from `phlox-workflow`.

Originally Phlox as implemented based on ClojureScript and PIXI.js . However current implementation with Nim and Cario costs less memory, although with far fewer features. I prefer using Nim's version since it's controlled by Cirru ecosystem.

### Workflow

https://github.com/calcit-lang/calcit-workflow
Expand Down

0 comments on commit d9dda54

Please sign in to comment.