Skip to content

Commit

Permalink
Install Flowistry binary using --locked, update to 0.5.42
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Jul 29, 2024
1 parent 3de29cb commit 17d094a
Show file tree
Hide file tree
Showing 11 changed files with 1,157 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: cargo bench --bench main -- --output-format bencher | tee crates/flowistry/benches/output.txt
- run: cargo bench --locked --bench main -- --output-format bencher | tee crates/flowistry/benches/output.txt
- uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'cargo'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: install
args: --path crates/flowistry_ide --debug
args: --path crates/flowistry_ide --debug --locked
- run: npm install && npm run build
working-directory: ide
- run: pip3 install -r scripts/requirements.txt && python3 scripts/check_versions.py
Expand Down Expand Up @@ -49,15 +49,15 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-08-25
toolchain: nightly-2024-01-06
components: rust-src, rustc-dev, llvm-tools-preview
target: ${{ matrix.target }}
profile: minimal
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release --locked
- run: python3 ../../scripts/prepare_artifact.py ${{ matrix.target }}
working-directory: target/release
- uses: actions/upload-artifact@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: build
args: --locked
- run: zip x86_64-unknown-linux-gnu.zip cargo-flowistry* flowistry-driver*
working-directory: target/debug
- run: cargo test --all-targets
- run: cargo test --locked --all-targets
- run: npm ci
working-directory: ide
- run: xvfb-run -a npm test -- install --zip=../target/debug/x86_64-unknown-linux-gnu.zip
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ data
.ipynb_checkpoints
.Rhistory
.cache
*.so
Cargo.lock
*.so
Loading

0 comments on commit 17d094a

Please sign in to comment.