Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,9 @@ jobs:
- test: cargo test --locked --release -p forc-debug
- test: cargo test --locked --release -p forc-client -- --test-threads 1
- test: cargo test --locked --release -p forc-mcp -- --test-threads 1
- test: cargo test --locked --release -p forc-node -- --test-threads 1
- test: cargo nextest run --locked --release -p sway-lsp --no-capture --profile ci --config-file sway-lsp/tests/nextest.toml
- test: cargo test --locked --release -p forc -- --nocapture
- test: cargo test --locked --release --workspace --exclude forc-debug --exclude sway-lsp --exclude forc-client --exclude forc-mcp --exclude forc --exclude forc-node
- test: cargo test --locked --release --workspace --exclude forc-debug --exclude sway-lsp --exclude forc-client --exclude forc-mcp --exclude forc
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down Expand Up @@ -872,13 +871,13 @@ jobs:
- name: Strip release binaries x86_64-linux-gnu
if: matrix.job.target == 'x86_64-unknown-linux-gnu'
run: |
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-node forc-publish forc-call; do
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-publish forc-call; do
strip "target/${{ matrix.job.target }}/release/$BINARY"
done
- name: Strip release binaries aarch64-linux-gnu
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
run: |
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-node forc-publish forc-call; do
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-publish forc-call; do
docker run --rm -v \
"$PWD/target:/target:Z" \
ghcr.io/cross-rs/${{ matrix.job.target }}:main \
Expand All @@ -888,7 +887,7 @@ jobs:
- name: Strip release binaries mac
if: matrix.job.os == 'macos-latest'
run: |
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-node forc-publish forc-call; do
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-publish forc-call; do
strip -x "target/${{ matrix.job.target }}/release/$BINARY"
done

Expand All @@ -902,7 +901,7 @@ jobs:
ZIP_FILE_NAME=forc-binaries-${{ env.PLATFORM_NAME }}_${{ env.ARCH }}.tar.gz
echo "ZIP_FILE_NAME=$ZIP_FILE_NAME" >> $GITHUB_ENV
mkdir -pv ./forc-binaries
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-node forc-publish forc-call; do
for BINARY in forc forc-fmt forc-lsp forc-debug forc-deploy forc-run forc-doc forc-tx forc-submit forc-mcp forc-migrate forc-publish forc-call; do
cp "target/${{ matrix.job.target }}/release/$BINARY" ./forc-binaries
done
tar -czvf $ZIP_FILE_NAME ./forc-binaries
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
cargo install --locked --debug --path ./forc-plugins/forc-lsp
cargo install --locked --debug --path ./forc-plugins/forc-mcp
cargo install --locked --debug --path ./forc-plugins/forc-migrate
cargo install --locked --debug --path ./forc-plugins/forc-node
cargo install --locked --debug --git https://github.com/FuelLabs/forc forc-node
cargo install --locked --debug --path ./forc-plugins/forc-publish

- name: Install mdbook-forc-documenter
Expand Down
Loading
Loading