From aee71fedf0424ae8e3b762877330e115490bec04 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 28 Sep 2023 09:38:37 -0700 Subject: [PATCH] .github/workflows: Remove ci-wsl, ci-cygwin-standard --- .github/workflows/ci-cygwin-standard.yml | 137 ----------------------- .github/workflows/ci-wsl.yml | 54 --------- 2 files changed, 191 deletions(-) delete mode 100644 .github/workflows/ci-cygwin-standard.yml delete mode 100644 .github/workflows/ci-wsl.yml diff --git a/.github/workflows/ci-cygwin-standard.yml b/.github/workflows/ci-cygwin-standard.yml deleted file mode 100644 index 326dd62490e..00000000000 --- a/.github/workflows/ci-cygwin-standard.yml +++ /dev/null @@ -1,137 +0,0 @@ -name: CI cygwin-standard - -on: - push: - tags: - - '*' - workflow_dispatch: - # Allow to run manually - -jobs: - -############################################## stage-i ########################################## - - cygwin-stage-i-a: - uses: ./.github/workflows/cygwin.yml - with: - stage: i-a - # builds openblas - targets: iml gsl - - cygwin-stage-i-b: - uses: ./.github/workflows/cygwin.yml - with: - stage: i-b - targets: cython setuptools_scm kiwisolver dateutil cycler pyparsing certifi pkgconfig pplpy - -############################################## stage-ii ########################################## - - cygwin-stage-ii-a: - uses: ./.github/workflows/cygwin.yml - with: - stage: ii-a - previous_stages: i-* - targets: cvxopt rpy2 - needs: [cygwin-stage-i-a, cygwin-stage-i-b] - - cygwin-stage-ii-b: - uses: ./.github/workflows/cygwin.yml - with: - stage: ii-b - previous_stages: i-* - targets: singular maxima gap pari gfan palp arb ecm givaro - needs: [cygwin-stage-i-a, cygwin-stage-i-b] - - cygwin-stage-ii-c: - uses: ./.github/workflows/cygwin.yml - with: - stage: ii-c - previous_stages: i-* - targets: cypari eclib fplll linbox giac - needs: [cygwin-stage-i-a, cygwin-stage-i-b] - - cygwin-stage-ii-d: - uses: ./.github/workflows/cygwin.yml - with: - stage: ii-d - previous_stages: i-* - targets: ipython ipywidgets notebook - needs: [cygwin-stage-i-a, cygwin-stage-i-b] - - cygwin-stage-ii-e: - uses: ./.github/workflows/cygwin.yml - with: - stage: ii-e - previous_stages: i-* - targets: threejs tachyon pillow jmol m4rie sympy lrcalc lcalc symmetrica cliquer libbraiding planarity rw elliptic_curves combinatorial_designs sympow - needs: [cygwin-stage-i-a, cygwin-stage-i-b] - -############################################## stage-iii ########################################## - - cygwin-stage-iii-a: - uses: ./.github/workflows/cygwin.yml - with: - stage: iii-a - previous_stages: ii-* - targets: sagelib - needs: [cygwin-stage-ii-a, cygwin-stage-ii-b, cygwin-stage-ii-c, cygwin-stage-ii-d, cygwin-stage-ii-e] - - cygwin-stage-iii-b: - uses: ./.github/workflows/cygwin.yml - with: - stage: iii-b - previous_stages: ii-* - targets: networkx - needs: [cygwin-stage-ii-a, cygwin-stage-ii-b, cygwin-stage-ii-c, cygwin-stage-ii-d, cygwin-stage-ii-e] - -############################################## stage-iv ########################################## - - cygwin-stage-iv: - uses: ./.github/workflows/cygwin.yml - with: - stage: iv - previous_stages: iii-* - targets: build - needs: [cygwin-stage-iii-a, cygwin-stage-iii-b] - -############################################## stage-v ########################################### - - cygwin-stage-v-a: - uses: ./.github/workflows/cygwin.yml - with: - stage: v-a - previous_stages: iv - targets: ptest-nodoc - needs: [cygwin-stage-iv] - - cygwin-stage-v-b: - uses: ./.github/workflows/cygwin.yml - with: - stage: v-b - previous_stages: iv - targets: 4ti2 pynormaliz topcom lrslib latte_int cryptominisat - needs: [cygwin-stage-iv] - - cygwin-stage-v-c: - uses: ./.github/workflows/cygwin.yml - with: - stage: v-c - previous_stages: iv - targets: sage_numerical_backends_coin - needs: [cygwin-stage-iv] - - cygwin-stage-v-d: - uses: ./.github/workflows/cygwin.yml - with: - stage: v-d - previous_stages: iv - targets: qepcad barvinok isl qhull primecount plantri kenzo libsemigroups mcqd meataxe mpfrcx openssl p_group_cohomology rst2ipynb sirocco tdlib tides - needs: [cygwin-stage-iv] - - cygwin-stage-v-e: - uses: ./.github/workflows/cygwin.yml - with: - stage: v-e - previous_stages: iv - targets: doc-html - needs: [cygwin-stage-iv] diff --git a/.github/workflows/ci-wsl.yml b/.github/workflows/ci-wsl.yml deleted file mode 100644 index ae83e1d6a0f..00000000000 --- a/.github/workflows/ci-wsl.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Build & Test WSL - -on: - push: - tags: - - '*' - branches: - - 'public/build/**wsl**' - workflow_dispatch: - # Allow to run manually - -jobs: - windows: - runs-on: windows-latest - name: Ubuntu 20.04 - # Following https://github.com/sagemath/sage/issues/25206#comment:63 - steps: - - name: Configure git - run: git config --global core.symlinks true - - uses: actions/checkout@v4 - - name: Install Ubuntu 20.04 (in WSL) - run: | - (New-Object System.Net.WebClient).DownloadFile("https://aka.ms/wslubuntu2004", "Ubuntu.appx") - Expand-Archive Ubuntu.appx - Ubuntu\ubuntu2004.exe install --root - - name: Install dependencies - run: | - wsl sudo apt-get update -y - wsl sudo apt-get install -y tox - - name: Build - run: wsl tox -e local-sudo-ubuntu-standard -- SAGE_NUM_THREADS=4 build - env: - # WSL runs everything as root, so we have to enable build as root user - EXTRA_CONFIGURE_ARGS: "--enable-build-as-root" - # If make is invoked in parellel (i.e. with -jN where N > 1), then we sometimes run into errors for some reason - # So keep N small in order to minimize the risk - MAKE: "make -j2" - WSLENV: EXTRA_CONFIGURE_ARGS:MAKE - - name: Test - run: wsl tox -e local-sudo-ubuntu-standard -- SAGE_NUM_THREADS=4 ptest - - name: Prepare logs artifact - run: mkdir -p "artifacts/logs"; cp -r .tox/*/log "artifacts/logs" - shell: bash - if: always() - - uses: actions/upload-artifact@v3 - with: - path: artifacts - name: logs - if: always() - - name: Print out logs for immediate inspection - # and markup the output with GitHub Actions logging commands - run: .github/workflows/scan-logs.sh "artifacts/logs" - shell: bash - if: always()