-
Notifications
You must be signed in to change notification settings - Fork 0
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 #6 from ssnover/console
Console and runner TCP API
- Loading branch information
Showing
46 changed files
with
1,370 additions
and
419 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
- '.github/workflows/coproc.yml' | ||
push: | ||
branches: | ||
- master | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
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,38 @@ | ||
name: linux-apps-build | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'console/**' | ||
- 'runner/**' | ||
- 'serial-protocol/**' | ||
- 'simulator/**' | ||
- 'utils/**' | ||
- 'Cargo.toml' | ||
- '.github/workflows/linux-apps.yml' | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
format: | ||
name: Check formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: rustfmt | ||
- name: | ||
run: cargo fmt --all --check | ||
|
||
build: | ||
name: Build apps | ||
needs: [format] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Build Linux applications | ||
run: cargo build --release |
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,41 @@ | ||
name: wasm-frontends-build | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'console/frontend/**' | ||
- 'simulator/frontend/**' | ||
- 'runner/runner_msgs/**' | ||
- 'simulator/sim_msgs/**' | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
format: | ||
name: Check formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: rustfmt | ||
- name: Format Console frontend | ||
run: cargo fmt --all --check --manifest-path console/frontend/Cargo.toml | ||
- name: Format Simulator frontend | ||
run: cargo fmt --all --check --manifest-path simulator/frontend/Cargo.toml | ||
|
||
build: | ||
name: Build WASM frontends | ||
needs: [format] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: "wasm32-unknown-unknown" | ||
- name: Build console frontend | ||
run: cargo build --release --manifest-path console/frontend/Cargo.toml | ||
- name: Build simulator frontend | ||
run: cargo build --release --manifest-path simulator/frontend/Cargo.toml |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.