Move serial into the installer in prep for Orbic support

This commit is contained in:
Sashanoraa
2025-04-26 21:04:52 -04:00
committed by Cooper Quintin
parent da53ec9df2
commit 1f7b7f0f1a
6 changed files with 1522 additions and 109 deletions

View File

@@ -10,7 +10,7 @@ env:
CARGO_TERM_COLOR: always
jobs:
build_serial_and_check:
build_rayhunter_check:
strategy:
matrix:
platform:
@@ -32,18 +32,7 @@ jobs:
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.platform.target }}
- name: Build serial
run: cargo build --bin serial --release --target ${{ matrix.platform.target }}
- uses: actions/upload-artifact@v4
with:
name: serial-${{ matrix.platform.name }}
path: target/${{ matrix.platform.target }}/release/serial${{ matrix.platform.os == 'windows-latest' && '.exe' || '' }}
if-no-files-found: error
- uses: actions/checkout@v4
- name: Build check
- name: Build rayhunter-check
run: cargo build --bin rayhunter-check --release
- uses: actions/upload-artifact@v4
with:
@@ -126,7 +115,7 @@ jobs:
build_release_zip:
needs:
- build_serial_and_check
- build_rayhunter_check
- build_rootshell
- build_rayhunter
runs-on: ubuntu-latest

View File

@@ -37,17 +37,3 @@ jobs:
- name: Run clippy
run: cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }}
windows_serial_check_and_test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: cargo check
shell: bash
run: |
cd serial
cargo check --verbose
- name: cargo test
shell: bash
run: |
cd serial
cargo test --verbose --no-default-features --features=${{ matrix.device.name }}