From 68fccc4bc51cffea9af115b2725814edd8553278 Mon Sep 17 00:00:00 2001 From: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com> Date: Wed, 17 Jul 2024 19:30:35 +0800 Subject: [PATCH] Fix night run CI (#3640) Manually git clone and install dependencies instead of using git action on Ubuntu 14.04 runner. --- .github/workflows/nightly_run.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nightly_run.yml b/.github/workflows/nightly_run.yml index 1124df62..204cadc9 100644 --- a/.github/workflows/nightly_run.yml +++ b/.github/workflows/nightly_run.yml @@ -323,16 +323,13 @@ jobs: - make_options_run_mode: $FAST_JIT_BUILD_OPTIONS make_options_feature: "-DWAMR_BUILD_MEMORY64=1" steps: - - name: checkout - uses: actions/checkout@v3 - - name: Install dependencies - uses: nick-fields/retry@v2 - with: - timeout_minutes: 10 - max_attempts: 3 - command: apt update && apt install -y make g++-4.8 gcc-4.8 wget git - on_retry_command: sudo rm -r /var/lib/apt/lists/* + run: | + apt update && apt install -y make g++-4.8 gcc-4.8 wget git + + - name: checkout + run: | + git clone https://github.com/${{ github.repository }} wamr - name: Install cmake run: | @@ -345,7 +342,7 @@ jobs: mkdir build && cd build cmake .. ${{ matrix.make_options_run_mode }} ${{ matrix.make_options_feature }} -DCMAKE_C_COMPILER=gcc-4.8 -DCMAKE_CXX_COMPILER=g++-4.8 cmake --build . --config Release --parallel 4 - working-directory: product-mini/platforms/linux + working-directory: wamr/product-mini/platforms/linux build_samples_wasm_c_api: needs: