Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Huamin Chen <[email protected]>
  • Loading branch information
rootfs committed Nov 16, 2023
1 parent 145208a commit 663abb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 39 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/publish_bcc_deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
repository-projects: write

jobs:
publich_bcc_deb:
publich_pkg:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand All @@ -39,6 +39,16 @@ jobs:
sudo /usr/lib/pbuilder/pbuilder-satisfydepends
sudo ./scripts/build-deb.sh
sudo tar czvf /tmp/bcc_${BCC_TAG}.tar.gz *.deb
- name: Build xgboost
run: |
set -x
export XGBOOST_TAG=$(cat xgboost_tag)
sudo apt-get update -y
# ubuntu 20.04 ships with cmake 3.16, but xgboost needs 3.18+. Install cmake from pip
sudo apt-get install git make g++ python3-pip -y
sudo pip install cmake --upgrade
git clone --recursive https://github.com/dmlc/xgboost.git
cd xgboost && git checkout tags/v${XGBOOST_TAG} && mkdir -p build && cd build && cmake .. && make -j4 && make package && sudo tar czvf /tmp/xgboost-${XGBOOST_TAG}-Linux.sh.tar.gz xgboost-${XGBOOST_TAG}-Linux.sh
#- name: upload bcc deb artifact
# uses: actions/upload-artifact@v2
# env:
Expand All @@ -53,3 +63,4 @@ jobs:
files: |
bcc.linux-amd64.tar.gz
/tmp/bcc_*.tar.gz
/tmp/xgboost-*.tar.gz
38 changes: 0 additions & 38 deletions .github/workflows/publish_xgboost.yml

This file was deleted.

0 comments on commit 663abb9

Please sign in to comment.