Skip to content

Commit

Permalink
Merge pull request #2 from calcit-lang/snapshot
Browse files Browse the repository at this point in the history
update  snapshot format; upgrade deps
  • Loading branch information
NoEgAm authored Nov 13, 2023
2 parents 687aaa0 + 1250891 commit 6a52394
Show file tree
Hide file tree
Showing 7 changed files with 447 additions and 864 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,30 @@ 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 https://github.com/calcit-lang/calcit/releases/download/0.6.1/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: sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev

- run: cargo build --release

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

# - run: cr -1
- run: cr --emit-ir -1
3 changes: 3 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

max_width = 136
tab_spaces = 2
Loading

0 comments on commit 6a52394

Please sign in to comment.