Skip to content

Commit

Permalink
Merge pull request #629 from LibreQoE/rchac-patch-3
Browse files Browse the repository at this point in the history
Fix GitHub .Deb Builds
  • Loading branch information
rchac authored Jan 13, 2025
2 parents 2c59c87 + 88ff66d commit 91447de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: [ lq_run ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set Version ENV
run: pushd src; echo "::set-env name=VERSION::$(cat VERSION_STRING)"
env:
Expand All @@ -19,14 +19,15 @@ jobs:
run: |
echo ${{ env.VERSION }}
- name: Install dependencies
run: sudo /bin/apt-get update; sudo /bin/apt-get install --no-install-recommends python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`/bin/uname r` libbpf-dev mold
run: sudo /bin/apt-get update; sudo /bin/apt-get install --no-install-recommends python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz esbuild curl screen llvm pkg-config linux-tools-common linux-tools-`/bin/uname r` libbpf-dev mold
if: matrix.os == 'ubuntu-latest'
- name: Build
run: pushd src/rust; cargo build --verbose --all; popd
- name: Run tests
run: pushd src/rust; cargo test --verbose --all; popd
- name: Build .deb file
run: pushd src; ./build_dpkg.sh --nostamp; popd
run: ./build_dpkg.sh --nostamp
working-directory: src/
- name: Archive .deb file
uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions src/rust/lqosd/copy_files.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -e
echo "Copying static"
mkdir ../../bin/static2/
cp -v -R src/node_manager/static2/* ../../bin/static2/
echo "Done"
pushd src/node_manager/js_build || exit
Expand Down

0 comments on commit 91447de

Please sign in to comment.