Changeset 68f6c9 in git for .github/workflows


Ignore:
Timestamp:
Feb 19, 2021, 6:49:16 PM (3 years ago)
Author:
Matthias Koeppe <mkoeppe@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
39d022e97bd4ab8f3d69c329dbbe82df1584e237
Parents:
b1d05db4b7eb9b213112ad9f8d89f45fd8513c79
git-author:
Matthias Koeppe <mkoeppe@math.ucdavis.edu>2021-02-19 09:49:16-08:00
git-committer:
Matthias Koeppe <mkoeppe@math.ucdavis.edu>2021-02-22 08:32:14-08:00
Message:
.github/workflows/ci-sage.yml: Update for new Cygwin workflow from Sage ticket #31064
File:
1 edited

Legend:

Unmodified
Added
Removed
  • .github/workflows/ci-sage.yml

    rb1d05d r68f6c9  
    5656  SAGE_REPO:   sagemath/sage
    5757  SAGE_REF:    develop
    58   # Temporarily test on the branch from sage ticket for singular 4.1.3 upgrade
     58  # Temporarily test on the branch from sage ticket for singular 4.2 upgrade
    5959  SAGE_TRAC_GIT: git://trac.sagemath.org/sage.git
    6060  SAGE_TRAC_COMMAND: try
     
    9999      CONFIGURE_ARGS: --enable-experimental-packages --enable-download-from-upstream-url
    100100      SAGE_FAT_BINARY: yes
     101      SAGE_LOCAL: /opt/sage-singular-${{ github.sha }}
    101102
    102103    runs-on: windows-latest
     
    143144      run: |
    144145        choco --version
    145         PACKAGES=$(sed 's/#.*//;' ./build/pkgs/cygwin.txt ./build/pkgs/cygwin-bootstrap.txt)
     146        PACKAGES="python38 python38-pip"
    146147        choco install $PACKAGES --source cygwin
    147148    - name: Update Sage packages from upstream artifact
    148149      run: |
    149150        C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && ls -l upstream/ && export PATH="$(pwd)/build/bin:$PATH:/usr/local/bin:/usr/bin" && (cd upstream && bash -x update-pkgs.sh) && git diff'
    150     - name: bootstrap
    151       run: |
    152         C:\\tools\\cygwin\\bin\\bash -l -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && env && ./bootstrap'
    153     - name: install additional cygwin packages with choco
    154       if: contains(matrix.pkgs, 'standard')
    155       shell: bash {0}
    156       run: |
    157         PACKAGES=$(sed 's/#.*//;' ./build/pkgs/*/distros/cygwin.txt)
    158         choco install $PACKAGES --source cygwin
    159     - name: configure
    160       run: |
    161         C:\\tools\\cygwin\\bin\\bash -l -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && ./configure $CONFIGURE_ARGS'
    162     - name: make $TARGETS
    163       run: |
    164         C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && make -k -w V=0 base-toolchain && make -k -w V=1 $TARGETS'
    165     - name: make $TARGETS_OPTIONAL
    166       run: |
    167         C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && make -k -w V=1 $TARGETS_OPTIONAL'
     151    - name: tox
     152      run: |
     153        C:\\tools\\cygwin\\bin\\bash -l -x -c 'python3.8 -m pip install tox'
     154        C:\\tools\\cygwin\\bin\\bash -l -x -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && PREFIX="${{ env.SAGE_LOCAL }}" tox -e local-cygwin-choco-${{ matrix.pkgs }} -- $TARGETS'
    168155    - name: Prepare logs artifact
    169156      shell: bash
     
    185172    - name: Prepare sage-local artifact
    186173      # We specifically use the cygwin tar so that symlinks are saved/restored correctly on Windows.
    187       # We remove the local/lib64 link, which will be recreated by the next stage.
    188       run: |
    189         C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f local/lib64; tar -cf /tmp/sage-local-${{ env.STAGE }}.tar --remove-files local'
     174      # We remove the $SAGE_LOCAL/lib64 link, which will be recreated by the next stage.
     175      run: |
     176        C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f "${{ env.SAGE_LOCAL }}"/lib64; tar -cf /tmp/sage-local-${{ env.STAGE }}.tar --remove-files "${{ env.SAGE_LOCAL }}"'
    190177      if: always()
    191178    - uses: actions/upload-artifact@v2
Note: See TracChangeset for help on using the changeset viewer.