Skip to content

Commit

Permalink
Merge pull request #2 from calcit-lang/snapshot
Browse files Browse the repository at this point in the history
change snapshot format
  • Loading branch information
NoEgAm authored Nov 13, 2023
2 parents 186d438 + d425695 commit b7b4344
Show file tree
Hide file tree
Showing 7 changed files with 392 additions and 374 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,28 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/cr'
name: 'cr'
version: '0.8.9'

- 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"
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
name: 'caps'
version: '0.8.9'

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- uses: Swatinem/rust-cache@v2

- run: cargo build --release

- run: mkdir dylibs/ && ls target/release/ && cp -v target/release/*.* dylibs/

# - run: cr -1
- run: cr --emit-ir -1
Loading

0 comments on commit b7b4344

Please sign in to comment.