use vtk mesa #53
This file contains hidden or 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: Test EMI-mesh | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| pull_request: | |
| branches: ["main"] | |
| push: | |
| branches: ["main"] | |
| env: | |
| DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| jobs: | |
| test_scripts: | |
| runs-on: ubuntu-latest | |
| container: ubuntu:latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # - uses: actions/setup-python@v5 | |
| # with: | |
| # python-version: "3.11" | |
| - name: Install deps | |
| run: | | |
| DEBIAN_FRONTEND=noninteractive apt-get update | |
| DEBIAN_FRONTEND=noninteractive apt-get install -y gcc unzip make cmake build-essential git libgmp-dev xvfb intel-opencl-icd pocl-opencl-icd | |
| # python -m pip install snakemake | |
| - name: Setup conda-forge | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-activate-base: true | |
| activate-environment: "" | |
| miniforge-version: latest | |
| channels: conda-forge,bioconda | |
| conda-remove-defaults: "true" | |
| - name: Install snakemake | |
| run: | | |
| conda install snakemake snakemake-storage-plugin-http snakemake-executor-plugin-cluster-generic | |
| - name: Run snakemake | |
| run: | | |
| export PYOPENCL_COMPILER_OUTPUT=1 && snakemake --use-conda --cores 2 -p --configfile ./config_files/test.yml |