Merge pull request #2 from calcit-lang/snapshot #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
name: Test | |
jobs: | |
build_and_test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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' | |
- 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: 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 --emit-ir -1 |