Changeset 68f6c9 in git for .github/workflows/ci-sage.yml
- Timestamp:
- Feb 19, 2021, 6:49:16 PM (3 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.github/workflows/ci-sage.yml
rb1d05d r68f6c9 56 56 SAGE_REPO: sagemath/sage 57 57 SAGE_REF: develop 58 # Temporarily test on the branch from sage ticket for singular 4. 1.3upgrade58 # Temporarily test on the branch from sage ticket for singular 4.2 upgrade 59 59 SAGE_TRAC_GIT: git://trac.sagemath.org/sage.git 60 60 SAGE_TRAC_COMMAND: try … … 99 99 CONFIGURE_ARGS: --enable-experimental-packages --enable-download-from-upstream-url 100 100 SAGE_FAT_BINARY: yes 101 SAGE_LOCAL: /opt/sage-singular-${{ github.sha }} 101 102 102 103 runs-on: windows-latest … … 143 144 run: | 144 145 choco --version 145 PACKAGES= $(sed 's/#.*//;' ./build/pkgs/cygwin.txt ./build/pkgs/cygwin-bootstrap.txt)146 PACKAGES="python38 python38-pip" 146 147 choco install $PACKAGES --source cygwin 147 148 - name: Update Sage packages from upstream artifact 148 149 run: | 149 150 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' 168 155 - name: Prepare logs artifact 169 156 shell: bash … … 185 172 - name: Prepare sage-local artifact 186 173 # 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 }}"' 190 177 if: always() 191 178 - uses: actions/upload-artifact@v2
Note: See TracChangeset
for help on using the changeset viewer.