- Timestamp:
- Feb 23, 2021, 11:27:18 AM (3 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 1d57ef213b0947c87a3f00a2ec18f563d13a13fa
- Parents:
- 0aaff947bac7f5defc09a61304cf2cf83ab6dbede553ba7d16aaa3e3c4c747a4e9bb56c9d7de2a2e
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2021-02-23 11:27:18+01:00
- git-committer:
- GitHub <noreply@github.com>2021-02-23 11:27:18+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.github/workflows/ci-sage.yml
r0aaff9 r2d0b446 43 43 tags: 44 44 - '*' 45 workflow_dispatch: 46 # Allow to run manually 45 47 46 48 env: … … 56 58 SAGE_REPO: sagemath/sage 57 59 SAGE_REF: develop 58 # Temporarily test on the branch from sage ticket for singular 4. 1.3upgrade60 # Temporarily test on the branch from sage ticket for singular 4.2 upgrade 59 61 SAGE_TRAC_GIT: git://trac.sagemath.org/sage.git 60 62 SAGE_TRAC_COMMAND: try … … 99 101 CONFIGURE_ARGS: --enable-experimental-packages --enable-download-from-upstream-url 100 102 SAGE_FAT_BINARY: yes 103 SAGE_LOCAL: /opt/sage-singular-${{ github.sha }} 101 104 102 105 runs-on: windows-latest … … 143 146 run: | 144 147 choco --version 145 PACKAGES= $(sed 's/#.*//;' ./build/pkgs/cygwin.txt ./build/pkgs/cygwin-bootstrap.txt)148 PACKAGES="python38 python38-pip" 146 149 choco install $PACKAGES --source cygwin 147 150 - name: Update Sage packages from upstream artifact 148 151 run: | 149 152 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' 153 - name: tox 154 run: | 155 C:\\tools\\cygwin\\bin\\bash -l -x -c 'python3.8 -m pip install tox' 156 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 157 - name: Prepare logs artifact 169 158 shell: bash … … 185 174 - name: Prepare sage-local artifact 186 175 # 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'176 # We remove the $SAGE_LOCAL/lib64 link, which will be recreated by the next stage. 177 run: | 178 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 179 if: always() 191 180 - uses: actions/upload-artifact@v2 … … 204 193 max-parallel: 32 205 194 matrix: 206 tox_system_factor: [ubuntu-trusty, ubuntu-xenial, ubuntu-bionic, ubuntu- eoan, ubuntu-focal, debian-jessie, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-17, linuxmint-18, linuxmint-19, linuxmint-19.3, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, centos-7, centos-8, archlinux-latest, slackware-14.2, conda-forge, ubuntu-bionic-i386, ubuntu-eoan-i386, debian-buster-i386, centos-7-i386, raspbian-buster-armhf]195 tox_system_factor: [ubuntu-trusty, ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-17, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7, centos-8, gentoo, archlinux-latest, slackware-14.2, conda-forge, ubuntu-bionic-i386, ubuntu-focal-i386, debian-buster-i386, centos-7-i386, raspbian-buster-armhf] 207 196 tox_packages_factor: [minimal, standard] 208 197 env: … … 235 224 run: | 236 225 sudo DEBIAN_FRONTEND=noninteractive apt-get update 237 sudo DEBIAN_FRONTEND=noninteractive apt-get install python-tox python3-setuptools226 sudo DEBIAN_FRONTEND=noninteractive apt-get install tox python3-setuptools 238 227 - name: Update Sage packages from upstream artifact 239 228 run: | … … 283 272 max-parallel: 4 284 273 matrix: 274 os: [ macos-10.15, macos-11.0 ] 285 275 tox_system_factor: [homebrew-macos, homebrew-macos-python3_xcode, homebrew-macos-python3_xcode-nokegonly, conda-forge-macos] 286 276 tox_packages_factor: [minimal, standard] 277 xcode_version_factor: [11.7, default, 12.3] 287 278 288 279 needs: [dist] … … 290 281 env: 291 282 TOX_ENV: local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }} 292 LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }} 283 LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}-${{ matrix.os }}-xcode_${{ matrix.xcode_version_factor }} 293 284 DOCKER_TARGETS: configured with-targets with-targets-optional 294 285 295 286 steps: 296 287 288 - name: Select Xcode version 289 run: | 290 if [ ${{ matrix.xcode_version_factor }} != default ]; then sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version_factor }}.app; fi 297 291 - name: Check out SageMath 298 292 uses: actions/checkout@v2
Note: See TracChangeset
for help on using the changeset viewer.