mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-03 07:13:58 -07:00
ci: statically compile serial binary
fix unreleased rayhunter-check binary names
This commit is contained in:
committed by
Cooper Quintin
parent
e440dab736
commit
dd67fbf645
@@ -14,30 +14,37 @@ jobs:
|
|||||||
platform:
|
platform:
|
||||||
- name: ubuntu-24
|
- name: ubuntu-24
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
target: x86_64-unknown-linux-musl
|
||||||
- name: ubuntu-24-aarch64
|
- name: ubuntu-24-aarch64
|
||||||
os: ubuntu-24.04-arm
|
os: ubuntu-24.04-arm
|
||||||
|
target: aarch64-unknown-linux-musl
|
||||||
- name: macos-arm
|
- name: macos-arm
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
|
target: aarch64-apple-darwin
|
||||||
- name: macos-intel
|
- name: macos-intel
|
||||||
os: macos-13
|
os: macos-13
|
||||||
|
target: x86_64-apple-darwin
|
||||||
- name: windows-x86_64
|
- name: windows-x86_64
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
runs-on: ${{ matrix.platform.os }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: ${{ matrix.platform.target }}
|
||||||
- name: Build serial
|
- name: Build serial
|
||||||
run: cargo build --bin serial --release
|
run: cargo build --bin serial --release --target ${{ matrix.platform.target }}
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: serial-${{ matrix.platform.name }}
|
name: serial-${{ matrix.platform.name }}
|
||||||
path: target/release/serial${{ matrix.platform.os == 'windows-latest' && '.exe' || '' }}
|
path: target/${{ matrix.platform.target }}/release/serial${{ matrix.platform.os == 'windows-latest' && '.exe' || '' }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build check
|
- name: Build check
|
||||||
run: cargo build --bin rayhunter-check --release
|
run: cargo build --bin rayhunter-check --release
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rayhunter-check-${{ matrix.platform.os }}
|
name: rayhunter-check-${{ matrix.platform.name }}
|
||||||
path: target/release/rayhunter-check${{ matrix.platform.os == 'windows-latest' && '.exe' || '' }}
|
path: target/release/rayhunter-check${{ matrix.platform.os == 'windows-latest' && '.exe' || '' }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
build_rootshell_and_rayhunter:
|
build_rootshell_and_rayhunter:
|
||||||
|
|||||||
Reference in New Issue
Block a user