From 72ebe543843d6820db59b75a148a850935556049 Mon Sep 17 00:00:00 2001 From: Angelo Dell'Aera Date: Thu, 18 Jan 2024 11:16:12 +0100 Subject: [PATCH] [Github Actions] Remove Debian build/release workflow --- .github/workflows/debian.yml | 61 ------------------------------------ 1 file changed, 61 deletions(-) delete mode 100644 .github/workflows/debian.yml diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml deleted file mode 100644 index 7ae17ba3..00000000 --- a/.github/workflows/debian.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Debian build/release workflow - -on: - push: - pull_request: - release: - types: [published] - branches: - - master - -jobs: - build: - name: Build wheel on debian-11.5 - runs-on: self-hosted - strategy: - matrix: - python-version: ['3.9'] - - steps: - - name: Initialization - run: | - rm -rf stpyv8 - pip uninstall -y stpyv8 - - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Install dependencies - run: | - sudo apt install libboost-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libboost-python-dev - pip install --upgrade pip setuptools wheel pytest pytest-order - - - name: Build wheel - run: | - python setup.py v8 - python setup.py sdist bdist_wheel -d stpyv8-debian-11-${{ matrix.python-version }} - env: - V8_DEPS_LINUX: 0 - LDFLAGS: -L/usr/lib -L/usr/lib/x86_64-linux-gnu - - - name: Install wheel - run : | - python -m pip install --find-links=stpyv8-debian-11-${{ matrix.python-version }} stpyv8 - - - name: Test wheel - run: | - pytest -v - - - name: Upload wheel - uses: actions/upload-artifact@v4 - if: ${{ github.event_name != 'release' }} - with: - name: stpyv8-debian-11-python${{ matrix.python-version }} - path: stpyv8-debian-11-${{ matrix.python-version }}/*.whl - - - name: Release - uses: softprops/action-gh-release@v1 - if: ${{ github.event_name == 'release' }} - with: - files: stpyv8-debian-11-${{ matrix.python-version }}/*.whl - token: ${{ secrets.GITHUB_TOKEN }}