Skip to content

Commit

Permalink
change snapshot format; calcit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Sep 7, 2023
1 parent 750e6c1 commit 2a194ea
Show file tree
Hide file tree
Showing 6 changed files with 200 additions and 180 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: add cr
run: |
mkdir -p $GITHUB_WORKSPACE/bin
wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.0-a3-build2/cr
chmod +x $GITHUB_WORKSPACE/bin/cr
echo "::add-path::$GITHUB_WORKSPACE/bin"
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0/cr'
name: 'cr'
version: '0.8.0'

- name: "prepare modules"
run: >
mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/
&& git clone https://github.com/calcit-lang/calcit-test.git
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0/caps'
name: 'caps'
version: '0.8.0'

- name: "test"
run: cr -1 --entry test
run: caps --ci && cr -1 --entry test

- run: cr --emit-js -1 --entry test && yarn && node ./main.mjs
239 changes: 121 additions & 118 deletions calcit.cirru

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

Loading

0 comments on commit 2a194ea

Please sign in to comment.