From ef4c43afa18497c01e43a0983cf1f77f38b69c2a Mon Sep 17 00:00:00 2001 From: Simon G <45692977+jeenyuhs@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:59:29 +0200 Subject: [PATCH] fucking shitty ass action --- .github/workflows/ci.yml | 85 +--------------------------------------- 1 file changed, 1 insertion(+), 84 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a183de2..ca347cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,92 +113,9 @@ jobs: with: name: pypi_files_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }} path: dist - - test-builds-arch: - name: Test build on ${{ matrix.target }}-${{ matrix.distro }} - needs: [build] - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - target: [aarch64, armv7] - distro: ['ubuntu22.04'] - include: - - target: aarch64 - distro: alpine_latest - - steps: - - name: Checkout project - uses: actions/checkout@v4 - - - name: Get artifacts - uses: actions/download-artifact@v4 - with: - pattern: pypi_files_linux_* - merge-multiple: true - path: dist - - - name: Install & test - uses: uraimo/run-on-arch-action@v2.7.1 - with: - arch: ${{ matrix.target }} - distro: ${{ matrix.distro }} - githubToken: ${{ github.token }} - install: | - set -x - if command -v apt-get &> /dev/null; then - echo "installing python & pip with apt-get..." - apt-get update - apt-get install -y --no-install-recommends python3 python3-pip python3-venv git - else - echo "installing python & pip with apk..." - apk update - apk add python3 py3-pip git - fi - run: | - set -x - # typing-extensions isn't automatically installed because of `--no-index --no-deps` - python3 -m venv venv - source venv/bin/activate - python3 -m pip install -U pip typing-extensions - python3 -m pip install rina_pp_pyb --no-index --no-deps --find-links dist --force-reinstall - python3 -c "import rina_pp_pyb" - - test-builds-os: - name: Test build on ${{ matrix.os }} - needs: [build] - - strategy: - fail-fast: false - matrix: - os: [ubuntu, macos, windows] - - runs-on: ${{ matrix.os }}-latest - steps: - - name: Checkout project - uses: actions/checkout@v4 - - - name: Set up python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Get artifacts - uses: actions/download-artifact@v4 - with: - pattern: pypi_files_* - merge-multiple: true - path: dist - - - run: | - pip install typing-extensions - pip install rina_pp_pyb --no-index --no-deps --find-links dist --force-reinstall - python -c "import rina_pp_pyb" - release: name: Release - needs: [clippy, test-builds-arch, test-builds-os, build-sdist] + needs: [clippy, build-sdist] if: success() && startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest