forked from nxp-imx/mfgtools
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #2 from dhruveshb-mecha/uuu_1.5.x
ci: developer environment added
- Loading branch information
Showing
7 changed files
with
189 additions
and
0 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,21 @@ | ||
### How to use Development environment | ||
|
||
1. Go To Action tabs of The page | ||
2. Select Any runner you want to run | ||
![Screenshot 2024-10-05 at 12 20 40 AM](https://github.com/user-attachments/assets/8106b2e8-c30b-4a04-ab54-8cd911abb294) | ||
3. Run the selected Workflow with tmate debug mode enable to get ssh for that runner | ||
![Screenshot 2024-10-05 at 12 22 37 AM](https://github.com/user-attachments/assets/5e0d28af-1649-471b-b9b0-478ef094fafa) | ||
4. Refresh the page so The cureent Running workflow will be visible | ||
![Screenshot 2024-10-05 at 12 26 25 AM](https://github.com/user-attachments/assets/6d26cca2-75ab-4b00-95e6-c391503dffa8) | ||
5. select that workflow | ||
6. Observe the build process, Wait till we go to tmate action | ||
7. In action look for ssh key | ||
![Screenshot 2024-10-05 at 12 23 45 AM](https://github.com/user-attachments/assets/e2addb82-612a-4158-8370-f85ae195aa92) | ||
8. Copy that ssh key and pest it on your terminal | ||
![Screenshot 2024-10-05 at 12 24 06 AM](https://github.com/user-attachments/assets/bbff1a6b-37b8-4e2a-900c-70327e9f6d6c) | ||
9. When popup open from tmate press ctrl + C to get actual terminal of system | ||
![Screenshot 2024-10-05 at 12 24 20 AM](https://github.com/user-attachments/assets/8c7489eb-b43e-47a7-a653-c52e2fa11161) | ||
10. Now you can use Host system | ||
![Screenshot 2024-10-05 at 12 25 20 AM](https://github.com/user-attachments/assets/fe200c1e-49ff-44d8-9b1c-dcd3843640c7) | ||
11. mfg-tool is there in root dir itself and system has already RUST 1.74 installed | ||
![Screenshot 2024-10-05 at 12 25 35 AM](https://github.com/user-attachments/assets/6bc362a0-ffe6-4c45-9950-d5edcc45bac8) |
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,28 @@ | ||
name: macOS-12 Development Environment | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 # This uses GitHub's hosted macOS runner | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust 1.74 | ||
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.0 | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: false | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} |
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,28 @@ | ||
name: macOS-13 Development Environment | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-13 # This uses GitHub's hosted macOS runner | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust 1.74 | ||
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.0 | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: false | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} |
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,28 @@ | ||
name: macOS-14 Development Environment | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-14-large # This uses GitHub's hosted macOS runner | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust 1.74 | ||
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.0 | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: false | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} |
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,28 @@ | ||
name: ubuntu-20.04 Development Environment | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 # This uses GitHub's hosted Ubuntu runner | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust 1.74 | ||
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.0 | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: false | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} |
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,28 @@ | ||
name: ubuntu-22.04 Development Environment | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 # This uses GitHub's hosted Ubuntu runner | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust 1.74 | ||
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.0 | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: false | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} |
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,28 @@ | ||
name: windows-server-2019 Development Environment | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)" | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2019 # This uses GitHub's hosted Windows runner | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Rust 1.74 | ||
run: | | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.74.0 | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: false | ||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} |