Skip to content

Commit

Permalink
fix: add proper python in msys2 env, add boost
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Sep 10, 2024
1 parent 51218c4 commit 2b3ceac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/actions/build-llvm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ inputs:
llvm-builder-version:
description: 'Version of the LLVM builder to use.'
required: false
default: '1.0.32'
default: '1.0.33'
ccache-key:
description: 'Github Actions cache key for CCache.'
required: false
Expand Down Expand Up @@ -158,5 +158,6 @@ runs:
if [[ -n "${{ inputs.default-target-triple }}" && "${{ inputs.default-target-triple }}" != "default" ]]; then
DEFAULT_TARGET="--default-target ${{ inputs.default-target-triple }}"
fi
zksync-llvm build --target-env ${{ inputs.target-env }} ${DEFAULT_TARGET} \
--use-ccache ${{ inputs.builder-extra-args }} ${DEBUG_ARG} ${ENABLE_TESTS} ${ENABLE_VALGRIND} ${ENABLE_ASSERTIONS} ${ENABLE_COVERAGE} ${SANITIZER} ${EXTRA_ARGS}
7 changes: 5 additions & 2 deletions .github/actions/prepare-msys/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- name: Setup msys2
uses: msys2/setup-msys2@v2
with:
path-type: inherit # Important to correctly update PATH
path-type: strict # Important to correctly update PATH
install: >-
base-devel
git
Expand All @@ -17,7 +17,10 @@ runs:
mingw-w64-x86_64-cmake
mingw-w64-x86_64-gcc
mingw-w64-x86_64-gcc-libs
mingw-w64-x86_64-python
mingw-w64-x86_64-boost
- name: Prepare env
shell: 'msys2 {0}'
run: echo "/c/Users/runneradmin/.cargo/bin" >> "${GITHUB_PATH}"
run: |
echo "export PATH=/c/Users/runneradmin/.cargo/bin:/mingw64/bin:/usr/bin:/usr/local/bin" >> ${HOME}/.bash_profile

0 comments on commit 2b3ceac

Please sign in to comment.