Update OCCT and pythonocc to 7.6.2 #151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Conda Packages | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
env: | |
GH_HEAD_REF: ${{ github.head_ref }} | |
jobs: | |
build-conda-packages: | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: ['x64'] | |
os: [windows-2019, ubuntu-latest, macos-latest] | |
python: ['3.7', '3.8', '3.9', '3.10'] | |
exclude: | |
- arch: x86 | |
os: macos-latest | |
- arch: x86 | |
os: ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: Setup conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
activate-environment: tigl-conda | |
miniconda-version: 'latest' | |
architecture: ${{ matrix.arch }} | |
python-version: ${{ matrix.python }} | |
channels: dlr-sc,dlr-sc/label/tigl-dev | |
- name: Install compiler (macos) | |
if: contains(matrix.os, 'macos') | |
shell: bash -l {0} | |
run: | | |
/usr/bin/curl -o MacOSX10.9.sdk.tar.xz -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz | |
tar xf MacOSX10.9.sdk.tar.xz | |
sudo mv MacOSX10.9.sdk /opt/ | |
ls /opt | |
- name: Install requirements (ubuntu, macos) | |
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') | |
shell: bash -l {0} | |
run: | | |
conda install -y conda-build gitpython anaconda-client mesa-dri-drivers-cos6-x86_64 | |
conda info -a | |
conda list | |
- name: Install requirements (windows) | |
if: contains(matrix.os, 'windows') | |
shell: cmd /C call {0} | |
run: | | |
conda install -y conda-build gitpython anaconda-client | |
conda info -a | |
conda list | |
- name: build conda packages | |
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') | |
shell: bash -l {0} | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
run: | | |
python --version | |
python build_recipes.py | |
- name: build conda packages | |
if: contains(matrix.os, 'windows') | |
shell: cmd /C call {0} | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
run: | | |
python --version | |
python build_recipes.py | |