Skip to content

Commit

Permalink
remove move-lang from the repo and depend on diem/move
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill authored and bors-libra committed Jan 13, 2022
1 parent 77a552b commit 69f9541
Show file tree
Hide file tree
Showing 4,539 changed files with 347 additions and 356,536 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
87 changes: 2 additions & 85 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ jobs:

e2e-test:
runs-on: ubuntu-20.04-xl
timeout-minutes: 60
timeout-minutes: 70
needs: prepare
if: ${{ needs.prepare.outputs.test-rust == 'true' }}
container:
Expand Down Expand Up @@ -800,7 +800,7 @@ jobs:
$pre_command && rustup target add powerpc-unknown-linux-gnu
# disable the workspace-hack because it contains some code that doesn't build on powerpc
$pre_command && cargo x generate-workspace-hack --mode disable
$pre_command && cargo xcheck -j ${max_threads} -p diem-transaction-builder -p move-vm-types --target powerpc-unknown-linux-gnu
$pre_command && cargo xcheck -j ${max_threads} -p diem-transaction-builder --target powerpc-unknown-linux-gnu
# we can't just re-enable the workspace-hack at the end, because it can result in a different
# Cargo.lock resolution result in some cases. So use git reset instead.
$pre_command && git reset --hard HEAD
Expand All @@ -811,89 +811,6 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}

perf-benchmarks:
name: run-perf-benchmarks
runs-on: ubuntu-20.04-xl
timeout-minutes: 30
needs:
- prepare
- build-benchmarks
env:
CRITERION_HOME: /tmp/benches
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/[email protected]
with:
path: "/opt/cargo/git\n/opt/cargo/registry\n/opt/cargo/.package-cache"
key: crates-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: "crates-${{ runner.os }}"
- name: Download the previous baseline
continue-on-error: true
uses: actions/download-artifact@v2
with:
name: bench-baseline
- name: Run performance benchamrks
run: |
# Replace this with a cargo x bench
cargo bench --package language-benchmarks
- name: Archive criterion results
uses: actions/upload-artifact@v2
with:
name: bench-baseline
retention-days: 5
path: |
/tmp/benches
- name: Early terminate workflow
if: ${{ failure() }}
uses: ./.github/actions/early-terminator
with:
github-token: ${{secrets.GITHUB_TOKEN}}

build-move-analyzer-vscode-extension:
name: Build VS Code extension for move-analyzer
runs-on: ubuntu-20.04
needs:
- prepare
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js 14
uses: actions/[email protected]
with:
node-version: '14'
- name: Install NPM dependencies
working-directory: language/move-analyzer/editors/code
run: npm install
- name: Build the extension
working-directory: language/move-analyzer/editors/code
run: npm run pretest
- name: Test the extension
# VS Code tests require display output. This action simulates such a
# display, using Xvfb. (It's roughly equivalent to prefixing the 'run'
# commands below with `xvfb-run <command>`.) Without a simulated display
# such as this one, the tests would fail with the error message:
# "Unable to open X display."
uses: GabrielBB/[email protected]
with:
working-directory: language/move-analyzer/editors/code
run: npm run test
- name: Package the extension
working-directory: language/move-analyzer/editors/code
run: npm run package
- name: Upload VS Code extension
uses: actions/upload-artifact@v2
with:
name: move-analyzer-vscode-extension
path: language/move-analyzer/editors/code/move-analyzer.vsix
- name: Early terminate workflow
if: ${{ failure() }}
uses: ./.github/actions/early-terminator
with:
github-token: ${{secrets.GITHUB_TOKEN}}

developers-site:
name: run-developer-site-build
runs-on: ubuntu-20.04
Expand Down
40 changes: 0 additions & 40 deletions .vscode/launch.json

This file was deleted.

23 changes: 0 additions & 23 deletions .vscode/tasks.json

This file was deleted.

Loading

0 comments on commit 69f9541

Please sign in to comment.