Skip to content

Commit

Permalink
Revert "ci: downgrade Meson to 1.2.3 (#3991)"
Browse files Browse the repository at this point in the history
This reverts commit 6aeea82.
  • Loading branch information
ret2libc committed Nov 24, 2023
1 parent 85ec438 commit 1ca198b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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==1.2.3 ninja PyYAML)
- cmd: if defined BUILD_DIR ( %PYTHON%\python.exe -m pip install meson ninja PyYAML)

# Build scripts
build_script:
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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==1.2.3 ninja PyYAML
run: pip3 install --user meson ninja PyYAML
- name: Checkout rzpipe
if: matrix.enabled
uses: actions/checkout@v3
Expand Down Expand Up @@ -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==1.2.3 ninja PyYAML
run: sudo pip3 install meson ninja PyYAML
- name: Install test dependencies
run: |
sudo pip3 install 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'
Expand Down Expand Up @@ -499,7 +499,7 @@ jobs:
timeout-minutes: 45
steps:
- name: Install meson and ninja
run: sudo pip3 install meson==1.2.3 ninja
run: sudo pip3 install meson ninja
- name: Checkout rizin
run: |
git clone https://github.com/${{ github.repository }}
Expand Down Expand Up @@ -583,8 +583,10 @@ 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 meson==1.2.3 ninja PyYAML
run: pip3 install --user ninja PyYAML
- uses: actions/checkout@v3
- name: Extract rizin version
run: echo "version=$(python sys/version.py)" >> $GITHUB_OUTPUT
Expand All @@ -611,7 +613,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==1.2.3 ninja PyYAML
run: sudo pip3 install meson ninja PyYAML
- uses: actions/download-artifact@v3
with:
name: rizin-src.tar.xz
Expand Down Expand Up @@ -650,7 +652,7 @@ jobs:
- name: Install pkg-config with Homebrew
run: brew install pkg-config
- name: Install meson and ninja
run: pip3 install meson==1.2.3 ninja PyYAML
run: pip3 install meson ninja PyYAML
- name: Install ImageMagick
run: brew install imagemagick
- name: Create OSX package
Expand Down Expand Up @@ -720,7 +722,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==1.2.3 ninja
run: sudo apt-get --assume-yes install pax wget unzip python3-wheel python3-setuptools python3-pip && pip3 install --user meson ninja
- name: Compile with meson
run: |
export PATH=${HOME}/.local/bin:${PATH}
Expand All @@ -747,7 +749,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==1.2.3 ninja PyYAML
run: sudo pip3 install meson 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}
Expand All @@ -773,7 +775,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==1.2.3 ninja PyYAML
run: sudo pip3 install meson 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}
Expand Down Expand Up @@ -803,7 +805,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==1.2.3 ninja
run: sudo apt-get --assume-yes install wget unzip python3-wheel python3-setuptools build-essential python3-pip && sudo pip3 install meson ninja
- name: Install rizin
run: |
export PATH=$PATH:/usr/local/bin
Expand Down Expand Up @@ -832,7 +834,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==1.2.3 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 ninja
- name: Install rizin
run: |
export PATH=$PATH:/usr/local/bin
Expand Down Expand Up @@ -1004,7 +1006,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==1.2.3
run: sudo apt-get --assume-yes install python3-wheel python3-setuptools python3-pip && pip3 install --user meson
- name: Download subprojects
run: |
export PATH=${HOME}/.local/bin:${PATH}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install meson and ninja
run: |
sudo pip3 install meson==1.2.3 ninja PyYAML
sudo pip3 install meson ninja PyYAML
export PATH=${HOME}/Library/Python/3.9/bin:${HOME}/Library/Python/3.10/bin:${HOME}/.local/bin:${PATH}
- name: Initialize CodeQL - cpp
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ cache:
script:
- export PR_NAME=$(echo $TRAVIS_PULL_REQUEST_SLUG | cut -d'/' -f1)
- |
pip3 install -U --user meson==1.2.3 ninja
pip3 install -U --user meson ninja
pip3 install --user 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'
$SHELL travis-script

0 comments on commit 1ca198b

Please sign in to comment.