Parcourir la source

Remove outdated build workflows

Bobholamovic il y a 2 ans
Parent
commit
9b3210cb2c
2 fichiers modifiés avec 3 ajouts et 60 suppressions
  1. 0 57
      .github/workflows/build.yaml
  2. 3 3
      .github/workflows/lint.yaml

+ 0 - 57
.github/workflows/build.yaml

@@ -1,57 +0,0 @@
-name: build
-
-on:
-  push:
-    branches:
-      - develop
-      - "tests/**"
-    paths-ignore:
-      - "docs/**"
-      - "README.md"
-  pull_request:
-    branches:
-      - develop
-
-concurrency:
-  group: ${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
-
-jobs:
-  build_cpu:
-    runs-on: ${{ matrix.os }}
-    strategy:
-      matrix:
-        os: [ubuntu-latest, windows-latest]
-        python-version: ["3.7", "3.8"]
-        include:
-          - python-version: "3.7"
-            os: windows-latest
-            gdal-whl-url: https://paddlers.bj.bcebos.com/dependencies/gdal/GDAL-3.3.3-cp37-cp37m-win_amd64.whl
-          - python-version: "3.7"
-            os: ubuntu-latest
-            gdal-whl-url: https://paddlers.bj.bcebos.com/dependencies/gdal/GDAL-3.4.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
-          - python-version: "3.8"
-            os: windows-latest
-            gdal-whl-url: https://paddlers.bj.bcebos.com/dependencies/gdal/GDAL-3.3.3-cp38-cp38-win_amd64.whl
-          - python-version: "3.8"
-            os: ubuntu-latest
-            gdal-whl-url: https://paddlers.bj.bcebos.com/dependencies/gdal/GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
-      fail-fast: false
-    steps:
-      - uses: actions/checkout@v3
-      - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v4
-        with:
-          python-version: ${{ matrix.python-version }}
-      - name: Upgrade pip
-        run: python -m pip install pip --upgrade --user
-      - name: Install PaddlePaddle
-        run: python -m pip install paddlepaddle==2.4.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
-      - name: Install PaddleRS
-        run: |
-          python -m pip install -r requirements.txt
-          python -m pip install -e .
-      - name: Install GDAL
-        run: python -m pip install ${{ matrix.gdal-whl-url }}
-      - name: Test installation
-        run: python -c "import paddlers; print(paddlers.__version__)"

+ 3 - 3
.github/workflows/lint.yaml

@@ -11,15 +11,15 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
-      - name: Set up Python 3.7
+      - name: Set up Python 3.7.0
         uses: actions/setup-python@v4
         with:
-          python-version: 3.7
+          python-version: 3.7.0
       - name: Upgrade pip
         run: python -m pip install pip --upgrade --user
       - name: Install pre-commit hooks
         run: |
-          pip install pre-commit
+          pip install pre-commit==2.20.0
           pre-commit install
       - name: Lint
         run: pre-commit run --all-files