Skip to content

Workflow file for this run

name: Build Release
on:
push:
branches: [workflows] # FIXME: replace w/ main before merging
env:
CARGO_TERM_COLOR: always
jobs:
build_serial:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build serial
run: cargo build --bin serial --release
- uses: actions/upload-artifact@v4
with:
name: serial-${{ matrix.os }}
path: target/release/serial
build_rootshell_and_rayhunter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: armv7-unknown-linux-gnueabihf
- name: Install cross-compilation dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential \
libc6-armhf-cross \
libc6-dev-armhf-cross \
gcc-arm-linux-gnueabihf
version: 1.0
- name: Build rootshell (arm32)
run: cargo build --bin rootshell --target armv7-unknown-linux-gnueabihf --release
- name: Build rayhunter-daemon (arm32)
run: cargo build --bin rayhunter-daemon --target armv7-unknown-linux-gnueabihf --release
- uses: actions/upload-artifact@v4
with:
name: rootshell
path: target/armv7-unknown-linux-gnueabihf/release/rootshell
- uses: actions/upload-artifact@v4
with:
name: rayhunter-daemon
path: target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon
package_platform_zips:
needs: build_serial, build_rootshell_and_rayhunter

Check failure on line 52 in .github/workflows/build-release.yml

View workflow run for this annotation

GitHub Actions / Build Release

Invalid workflow file

The workflow is not valid. .github/workflows/build-release.yml (Line: 52, Col: 12): Job 'package_platform_zips' depends on unknown job 'build_serial, build_rootshell_and_rayhunter'.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4
with:
path: artifacts
- name: ls -R
run: ls -R artifacts