Skip to content

Commit

Permalink
BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasvestartas committed Apr 21, 2024
1 parent cc2b16e commit ce5c4d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
33 changes: 14 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,26 @@ on:
branches:
- main

defaults:
run:
shell: bash -l {0}

jobs:
build:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
install:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
# os: [windows-latest]
python-version: ['3.9.10']
os: [ubuntu-latest, windows-latest]

steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/checkout@v2

- uses: conda-incubator/[email protected]
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: conda-forge
python-version: ${{ matrix.python-version }}
activate-environment: compas_wood_3_9_10
python-version: 3.9.10
auto-activate-base: false

- uses: compas-dev/[email protected]
with:
test_lint: false
test_compas: true
- name: Install dependencies
run: |
conda install compas -c conda-forge
pip install -r requirements.txt
pip install -e .
1 change: 1 addition & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Conda

.. code-block:: bash
git clone https://github.com/petrasvestartas/compas_wood.git
conda create -n compas_wood_3_9_10 python=3.9.10 compas
conda activate compas_wood_3_9_10
pip install -r requirements.txt
Expand Down

0 comments on commit ce5c4d6

Please sign in to comment.