Update and rename rust.yml to unix.yml

This commit is contained in:
kmanc
2021-12-27 06:23:11 -08:00
committed by GitHub
parent 314df9ca58
commit e9e6ab925a
2 changed files with 24 additions and 41 deletions
-41
View File
@@ -1,41 +0,0 @@
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
unix-builds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build all for Unix
run: cargo build --verbose
- name: Build reverse shell for Unix
run: cargo build -p tcp_reverse_shell --verbose
- name: Build process migration for Unix
run: cargo build -p process_migration --verbose
windows-builds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install linker
run: sudo apt -y install mingw-w64
- name: Add Windows build target
run: rustup target add x86_64-pc-windows-gnu
- name: Build all for Windows
run: cargo build --target x86_64-pc-windows-gnu --verbose
- name: Build reverse shell for Windows
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --verbose
- name: Build process migration for Windows
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --verbose
+24
View File
@@ -0,0 +1,24 @@
name: RCO Unix
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
unix-builds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build all for Unix
run: cargo build --verbose
- name: Build reverse shell for Unix
run: cargo build -p tcp_reverse_shell --verbose
- name: Build process migration for Unix
run: cargo build -p process_migration --verbose