ci: Use Python virtual environment in "x86_64-macos-native" job
This commit is contained in:
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@@ -469,9 +469,14 @@ jobs:
|
|||||||
env: ${{ matrix.env_vars }}
|
env: ${{ matrix.env_vars }}
|
||||||
run: ./ci/ci.sh
|
run: ./ci/ci.sh
|
||||||
|
|
||||||
- name: Symbol check
|
- &SYMBOL_CHECK_MACOS
|
||||||
|
name: Symbol check
|
||||||
|
env:
|
||||||
|
VIRTUAL_ENV: '${{ github.workspace }}/venv'
|
||||||
run: |
|
run: |
|
||||||
python3 --version
|
python3 --version
|
||||||
|
python3 -m venv $VIRTUAL_ENV
|
||||||
|
export PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||||
python3 -m pip install lief
|
python3 -m pip install lief
|
||||||
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
||||||
|
|
||||||
@@ -512,17 +517,7 @@ jobs:
|
|||||||
ln -s $(brew --prefix gcc)/bin/gcc-?? /usr/local/bin/gcc
|
ln -s $(brew --prefix gcc)/bin/gcc-?? /usr/local/bin/gcc
|
||||||
|
|
||||||
- *CI_SCRIPT_ON_HOST
|
- *CI_SCRIPT_ON_HOST
|
||||||
|
- *SYMBOL_CHECK_MACOS
|
||||||
- name: Symbol check
|
|
||||||
env:
|
|
||||||
VIRTUAL_ENV: '${{ github.workspace }}/venv'
|
|
||||||
run: |
|
|
||||||
python3 --version
|
|
||||||
python3 -m venv $VIRTUAL_ENV
|
|
||||||
export PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
||||||
python3 -m pip install lief
|
|
||||||
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
|
||||||
|
|
||||||
- *PRINT_LOGS
|
- *PRINT_LOGS
|
||||||
|
|
||||||
win64-native:
|
win64-native:
|
||||||
|
|||||||
Reference in New Issue
Block a user