ci: downgrade Meson to 1.2.3 (#3991)
This commit is contained in:
parent
789e563255
commit
6aeea82800
4 changed files with 15 additions and 17 deletions
|
|
@ -69,7 +69,7 @@ install:
|
|||
- ps: $env:DIST_FOLDER = "rizin-$env:builder-$env:RZ_VERSION"
|
||||
- ps: $env:ARTIFACT_ZIP = "$env:DIST_FOLDER.zip"
|
||||
# Download required packages
|
||||
- cmd: if defined BUILD_DIR ( %PYTHON%\python.exe -m pip install meson ninja PyYAML)
|
||||
- cmd: if defined BUILD_DIR ( %PYTHON%\python.exe -m pip install meson==1.2.3 ninja PyYAML)
|
||||
|
||||
# Build scripts
|
||||
build_script:
|
||||
|
|
|
|||
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
|
|
@ -186,7 +186,7 @@ jobs:
|
|||
run: sudo apt-get --assume-yes install python3-wheel python3-setuptools libcapstone4 libcapstone-dev
|
||||
- name: Install meson and ninja
|
||||
if: matrix.build_system == 'meson' && matrix.enabled
|
||||
run: pip3 install --user meson ninja PyYAML
|
||||
run: pip3 install --user meson==1.2.3 ninja PyYAML
|
||||
- name: Checkout rzpipe
|
||||
if: matrix.enabled
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -447,7 +447,7 @@ jobs:
|
|||
- name: Install python and other dependencies
|
||||
run: sudo apt-get install --yes python3-wheel python3-setuptools python3-pip
|
||||
- name: Install meson and ninja
|
||||
run: sudo pip3 install meson ninja PyYAML
|
||||
run: sudo pip3 install meson==1.2.3 ninja PyYAML
|
||||
- name: Install test dependencies
|
||||
run: |
|
||||
sudo pip3 install 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'
|
||||
|
|
@ -499,7 +499,7 @@ jobs:
|
|||
timeout-minutes: 45
|
||||
steps:
|
||||
- name: Install meson and ninja
|
||||
run: sudo pip3 install meson ninja
|
||||
run: sudo pip3 install meson==1.2.3 ninja
|
||||
- name: Checkout rizin
|
||||
run: |
|
||||
git clone https://github.com/${{ github.repository }}
|
||||
|
|
@ -583,10 +583,8 @@ jobs:
|
|||
steps:
|
||||
- name: Install python and other dependencies
|
||||
run: sudo apt-get --assume-yes install python3-wheel python3-setuptools python3-pip
|
||||
- name: Download meson from git (temporary)
|
||||
run: pip3 install --user git+https://github.com/mesonbuild/meson
|
||||
- name: Install meson and ninja
|
||||
run: pip3 install --user ninja PyYAML
|
||||
run: pip3 install --user meson==1.2.3 ninja PyYAML
|
||||
- uses: actions/checkout@v3
|
||||
- name: Extract rizin version
|
||||
run: echo "version=$(python sys/version.py)" >> $GITHUB_OUTPUT
|
||||
|
|
@ -613,7 +611,7 @@ jobs:
|
|||
- name: Install python and other dependencies
|
||||
run: sudo apt-get --assume-yes install python3-wheel python3-setuptools python3-pip
|
||||
- name: Install meson and ninja
|
||||
run: sudo pip3 install meson ninja PyYAML
|
||||
run: sudo pip3 install meson==1.2.3 ninja PyYAML
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: rizin-src.tar.xz
|
||||
|
|
@ -652,7 +650,7 @@ jobs:
|
|||
- name: Install pkg-config with Homebrew
|
||||
run: brew install pkg-config
|
||||
- name: Install meson and ninja
|
||||
run: pip3 install meson ninja PyYAML
|
||||
run: pip3 install meson==1.2.3 ninja PyYAML
|
||||
- name: Install ImageMagick
|
||||
run: brew install imagemagick
|
||||
- name: Create OSX package
|
||||
|
|
@ -722,7 +720,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get --assume-yes install pax wget unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja
|
||||
run: sudo apt-get --assume-yes install pax wget unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson==1.2.3 ninja
|
||||
- name: Compile with meson
|
||||
run: |
|
||||
export PATH=${HOME}/.local/bin:${PATH}
|
||||
|
|
@ -749,7 +747,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: sudo apt-get --assume-yes install pax wget unzip python3-wheel python3-setuptools python3-pip
|
||||
- name: Install meson and ninja
|
||||
run: sudo pip3 install meson ninja PyYAML
|
||||
run: sudo pip3 install meson==1.2.3 ninja PyYAML
|
||||
- name: Compile & Install Rizin
|
||||
run: |
|
||||
export PATH=${HOME}/bin:${HOME}/Library/Python/3.9/bin:${HOME}/Library/Python/3.10/bin:${HOME}/Library/Python/3.11/bin:${HOME}/.local/bin:${PATH}
|
||||
|
|
@ -775,7 +773,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: sudo apt-get --assume-yes install pax wget unzip python3-wheel python3-setuptools python3-pip
|
||||
- name: Install meson and ninja
|
||||
run: sudo pip3 install meson ninja PyYAML
|
||||
run: sudo pip3 install meson==1.2.3 ninja PyYAML
|
||||
- name: Compile & Install Rizin
|
||||
run: |
|
||||
export PATH=${HOME}/bin:${HOME}/Library/Python/3.9/bin:${HOME}/Library/Python/3.10/bin:${HOME}/Library/Python/3.11/bin:${HOME}/.local/bin:${PATH}
|
||||
|
|
@ -805,7 +803,7 @@ jobs:
|
|||
mkdir rizin && pwd && ls -l
|
||||
tar -C rizin --strip-components=1 -xvf rizin-src.tar.xz
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get --assume-yes install wget unzip python3-wheel python3-setuptools build-essential python3-pip && sudo pip3 install meson ninja
|
||||
run: sudo apt-get --assume-yes install wget unzip python3-wheel python3-setuptools build-essential python3-pip && sudo pip3 install meson==1.2.3 ninja
|
||||
- name: Install rizin
|
||||
run: |
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
|
|
@ -834,7 +832,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt-get --assume-yes install cmake swig pkg-config clang libclang-dev llvm wget unzip python3-wheel python3-setuptools build-essential python3-pip && sudo pip3 install meson ninja
|
||||
sudo apt-get --assume-yes install cmake swig pkg-config clang libclang-dev llvm wget unzip python3-wheel python3-setuptools build-essential python3-pip && sudo pip3 install meson==1.2.3 ninja
|
||||
- name: Install rizin
|
||||
run: |
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
|
|
@ -1006,7 +1004,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get --assume-yes install python3-wheel python3-setuptools python3-pip && pip3 install --user meson
|
||||
run: sudo apt-get --assume-yes install python3-wheel python3-setuptools python3-pip && pip3 install --user meson==1.2.3
|
||||
- name: Download subprojects
|
||||
run: |
|
||||
export PATH=${HOME}/.local/bin:${PATH}
|
||||
|
|
|
|||
2
.github/workflows/code-analysis.yml
vendored
2
.github/workflows/code-analysis.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Install meson and ninja
|
||||
run: |
|
||||
sudo pip3 install meson ninja PyYAML
|
||||
sudo pip3 install meson==1.2.3 ninja PyYAML
|
||||
export PATH=${HOME}/Library/Python/3.9/bin:${HOME}/Library/Python/3.10/bin:${HOME}/.local/bin:${PATH}
|
||||
|
||||
- name: Initialize CodeQL - cpp
|
||||
|
|
|
|||
|
|
@ -48,6 +48,6 @@ cache:
|
|||
script:
|
||||
- export PR_NAME=$(echo $TRAVIS_PULL_REQUEST_SLUG | cut -d'/' -f1)
|
||||
- |
|
||||
pip3 install -U --user meson ninja
|
||||
pip3 install -U --user meson==1.2.3 ninja
|
||||
pip3 install --user 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'
|
||||
$SHELL travis-script
|
||||
|
|
|
|||
Loading…
Reference in a new issue