Skip to content

Commit

Permalink
Update after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwei-dev committed Sep 13, 2023
1 parent b237f06 commit 9a30114
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# provided by a third-party and are governed by separate terms of service,
# privacy policy, and support documentation.

name: Build Python Package and Publish
name: release python

on:
workflow_dispatch:
Expand Down Expand Up @@ -38,7 +38,6 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BEFORE_ALL: sh -c "./python/install-hyperonc.sh -u https://github.com/${{github.repository}}.git -r ${{env.COMMIT_HEAD}}"
CIBW_SKIP: "*musllinux*"
with:
package-dir: ./python

Expand Down
8 changes: 5 additions & 3 deletions python/install-hyperonc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ python3 -m pip install conan==1.60.2 pip==23.1.2
PATH="${PATH}:${HOME}/.local/bin"
conan profile new --detect default

cd ${HOME}
git clone $HYPERONC_URL hyperonc
mkdir -p ${HOME}/hyperonc
cd ${HOME}/hyperonc
git reset --hard $HYPERONC_REV
git init
git remote add origin $HYPERONC_URL
git fetch --depth=1 origin $HYPERONC_REV
git reset --hard FETCH_HEAD

mkdir -p ${HOME}/hyperonc/c/build
cd ${HOME}/hyperonc/c/build
Expand Down

0 comments on commit 9a30114

Please sign in to comment.