Skip to content

Commit

Permalink
Update pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinji-IkariG committed Aug 7, 2023
1 parent 6fc1493 commit 54b5747
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Set up environment
run: |
echo "path=$(pwd)" >> $GITHUB_ENV
echo "COMPILER_VERSION=${{ matrix.compiler }}" >> $GITHUB_ENV
- name: Install dependencies
run: |
bash <(curl -Ls $URL)
Expand All @@ -59,10 +60,11 @@ jobs:
sync
- name: Build
run: |
export TOOLSET_GCC_DIR=/opt/vesoft/toolset/gcc/9.3.0
export TOOLSET_GCC_DIR=/opt/vesoft/toolset/gcc/${COMPILER_VERSION}
export CC=${TOOLSET_GCC_DIR}/bin/gcc
export CXX=${TOOLSET_GCC_DIR}/bin/g++
export PATH=${TOOLSET_GCC_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${TOOLSET_GCC_DIR}/lib64:$LD_LIBRARY_PATH
build_package=1 ${{ env.path }}/build.sh
working-directory: ../build/
- name: Upload to OSS
Expand Down

0 comments on commit 54b5747

Please sign in to comment.