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 9d5e81c + 1f2bbf0 commit 91419ea
Show file tree
Hide file tree
Showing 6 changed files with 453 additions and 417 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,26 @@ 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/
Expand Down
36 changes: 24 additions & 12 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "calcit_regex"
version = "0.0.2"
authors = ["jiyinyiyong <[email protected]>"]
edition = "2018"
edition = "2021"

[lib]
name = "calcit_std"
Expand All @@ -13,6 +13,6 @@ crate-type = ["dylib"] # Creates dynamic lib
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cirru_edn = "0.2.11"
cirru_parser = "0.1.16"
regex = "1.5.4"
cirru_edn = "0.5.0"
cirru_parser = "0.1.25"
regex = "1.8.4"
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

rm -rfv dylibs
cargo build --release
mkdir -p dylibs/ && ls target/release/ && cp -v target/release/*.* dylibs/
Loading

0 comments on commit 91419ea

Please sign in to comment.