From ed69e6779940a2da4493ba82193685fe51c3e5b3 Mon Sep 17 00:00:00 2001 From: Christian Heitman Date: Wed, 23 Oct 2024 15:22:10 -0300 Subject: [PATCH] Update CI workflows --- .github/workflows/codecov.yml | 6 +++--- .github/workflows/docker.yml | 2 +- .github/workflows/linux.yml | 6 +++--- .github/workflows/osx.yml | 14 +++----------- .github/workflows/vcpkg.yml | 8 ++++---- 5 files changed, 14 insertions(+), 22 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index b9cea758a..792f2b693 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -10,10 +10,10 @@ jobs: python-version: [3.9] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -26,7 +26,7 @@ jobs: sudo apt-get install python3-setuptools lcov libboost-dev libgmp-dev - name: Install LLVM and Clang - uses: KyleMayes/install-llvm-action@v1 + uses: KyleMayes/install-llvm-action@v2 with: version: "14.0" directory: ${{ runner.temp }}/llvm diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b5971a652..d96af18d8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Timestamp Variable run: echo "TIMESTAMP=$(date +%s)" >> $GITHUB_ENV - name: Build the Docker image diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index aaa4e0935..7977548e4 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -12,10 +12,10 @@ jobs: capstone-version: ['5.0.1'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -29,7 +29,7 @@ jobs: sudo apt-get install python3-setuptools libboost-dev libgmp-dev - name: Install LLVM and Clang - uses: KyleMayes/install-llvm-action@v1 + uses: KyleMayes/install-llvm-action@v2 with: version: "14.0" directory: ${{ runner.temp }}/llvm diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index a68768aea..91cae1710 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -12,33 +12,25 @@ jobs: python-version: ['3.8', '3.9', '3.10'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install LLVM and Clang - uses: KyleMayes/install-llvm-action@v1 + uses: KyleMayes/install-llvm-action@v2 with: version: "14.0" directory: ${{ runner.temp }}/llvm - - name: Install dependencies - run: | - brew install boost - - name: Install Z3 run: | wget https://github.com/Z3Prover/z3/releases/download/z3-4.8.17/z3-4.8.17-x64-osx-10.16.zip unzip z3-4.8.17-x64-osx-10.16.zip sudo python -m pip install z3-solver==4.8.17.0 - - name: Install Ninja - run: | - brew install ninja - - name: Install Meson run: | python -m pip install meson diff --git a/.github/workflows/vcpkg.yml b/.github/workflows/vcpkg.yml index f656d8812..d0b4fd654 100644 --- a/.github/workflows/vcpkg.yml +++ b/.github/workflows/vcpkg.yml @@ -32,9 +32,9 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 name: Get vcpkg with: repository: 'microsoft/vcpkg' @@ -46,7 +46,7 @@ jobs: name: Get CMake - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' @@ -88,7 +88,7 @@ jobs: cmake --build --preset build-${{ matrix.cmake-preset }} --config Release --target install - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: triton-x64-${{ matrix.platform }} path: ${{ github.workspace }}/out/install/${{ matrix.cmake-preset }}