-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1985 from AmmarAbouZor/build-cli-tool
CLI Tool for Build System
- Loading branch information
Showing
56 changed files
with
6,217 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# This action runs the checks for pull requests using the build CLI Tool. | ||
name: Build CLI Tool Checks | ||
|
||
# Using the tool in GitHub Actions stills work in progress and will be invoked manually | ||
# until it's ready to replace the current rake workflows. | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
all_lint: | ||
name: Run all lints using CLI tool | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install Latest Rust | ||
run: | | ||
rustup update --no-self-update ${{ env.RUST_CHANNEL }} | ||
rustup default ${{ env.RUST_CHANNEL }} | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: Install wasm-pack | ||
run: cargo install wasm-pack | ||
- name: Install nj-cli | ||
run: cargo install nj-cli | ||
- name: Install Build CLI tool | ||
run: cargo install --path=cli | ||
- name: libudev-dev | ||
run: sudo apt-get install -y libudev-dev | ||
- name: enable corepack for yarnpkg upgrade | ||
run: corepack enable | ||
- name: Run Lints | ||
run: cargo chipmunk lint -r | ||
all_test: | ||
name: Run all tests using CLI tool | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install Latest Rust | ||
run: | | ||
rustup update --no-self-update ${{ env.RUST_CHANNEL }} | ||
rustup default ${{ env.RUST_CHANNEL }} | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: Install wasm-pack | ||
run: cargo install wasm-pack | ||
- name: Install nj-cli | ||
run: cargo install nj-cli | ||
- name: Install Build CLI tool | ||
run: cargo install --path=cli | ||
- name: libudev-dev | ||
run: sudo apt-get install -y libudev-dev | ||
- name: enable corepack for yarnpkg upgrade | ||
run: | | ||
npm install tslib | ||
corepack enable | ||
- name: Run Tests | ||
run: cargo chipmunk test -r |
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/target | ||
**/*.rs.bk | ||
*.out | ||
lineMetadata.json | ||
vim-markdown-preview.html | ||
.DS_Store |
Oops, something went wrong.