diff --git a/.github/workflows/packing.yml b/.github/workflows/packing.yml index d76a48ef..00ef82ab 100644 --- a/.github/workflows/packing.yml +++ b/.github/workflows/packing.yml @@ -2,10 +2,6 @@ name: packing on: push: - branches: - - master - tags: - - '*' pull_request: pull_request_target: types: [labeled] @@ -20,7 +16,7 @@ jobs: if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -65,7 +61,7 @@ jobs: if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -120,7 +116,7 @@ jobs: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: windows-latest + runs-on: windows-2022 strategy: fail-fast: false @@ -188,7 +184,7 @@ jobs: - run_tests_pip_package_linux - run_tests_pip_package_windows - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -226,7 +222,7 @@ jobs: if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 container: image: ${{ matrix.target.os }}:${{ matrix.target.dist }} @@ -293,7 +289,7 @@ jobs: if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 container: image: ${{ matrix.target.os }}:${{ matrix.target.dist }} @@ -315,7 +311,9 @@ jobs: uses: actions/checkout@v3 - name: Setup Python and test running tools - run: dnf install -y python3 python3-libs python3-pip git make + # cmake rocks fail to install as expected without findutils: + # https://github.com/tarantool/luarocks/issues/14 + run: dnf install -y python3 python3-libs python3-pip git make cmake gcc unzip findutils - name: Remove connector source code run: python3 .github/scripts/remove_source_code.py @@ -340,7 +338,7 @@ jobs: - name: Install the crud module for testing purposes run: | curl -L https://tarantool.io/release/2/installer.sh | bash - sudo apt install -y tt + sudo dnf install -y tt tt rocks install crud - name: Run tests @@ -352,7 +350,7 @@ jobs: needs: - run_tests_rpm - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -402,7 +400,7 @@ jobs: if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -450,7 +448,7 @@ jobs: if: (github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 container: image: ${{ matrix.target.os }}:${{ matrix.target.dist }} @@ -507,7 +505,7 @@ jobs: - name: Install the crud module for testing purposes run: | curl -L https://tarantool.io/release/2/installer.sh | bash - sudo apt install -y tt + apt install -y tt tt rocks install crud - name: Run tests @@ -519,7 +517,7 @@ jobs: needs: - run_tests_deb - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false