Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wgreenberg committed May 22, 2024
1 parent 41bbc9a commit 1ba7b9e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build serial
run: cargo build --target-dir ./ --bin serial --release
run: cargo build --target-dir ./result --bin serial --release
- uses: actions/upload-artifact@v4
with:
name: serial-${{ matrix.os }}
path: ./serial
path: ./result/serial
if-no-files-found: error
build_rootshell_and_rayhunter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: armv7-unknown-linux-gnueabihf
Expand All @@ -36,25 +36,25 @@ jobs:
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
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: rayhunter-daemon
path: target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon
if-no-files-found: error
package_platform_zips:
# - name: Build rayhunter-daemon (arm32)
# run: cargo build --bin rayhunter-daemon --target armv7-unknown-linux-gnueabihf --release
# - uses: actions/upload-artifact@v4
# with:
# name: rayhunter-daemon
# path: target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon
# if-no-files-found: error
build_release_zip:
needs:
- build_serial
- build_rootshell_and_rayhunter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: dist
Expand All @@ -68,5 +68,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: release.zip
path: release.zip
path: dist/release.zip
if-no-files-found: error

0 comments on commit 1ba7b9e

Please sign in to comment.