Skip to content

Commit

Permalink
Build on demand till issues get solved
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Sep 30, 2023
1 parent 8d8684d commit b845b9c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-latest]
# os: [ubuntu-22.04, macos-latest]
os: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -48,14 +49,14 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: buildenv
environment-file: conda_build_env.yml
auto-activate-base: false
auto-update-conda: true
python-version: ${{ matrix.python-version }}
# - uses: conda-incubator/setup-miniconda@v2
# with:
# miniconda-version: "latest"
# activate-environment: buildenv
# environment-file: conda_build_env.yml
# auto-activate-base: false
# auto-update-conda: true
# python-version: ${{ matrix.python-version }}

- name: Install Packages
run: |
Expand All @@ -71,15 +72,15 @@ jobs:
limit-access-to-actor: true
limit-access-to-users: oleg-alexandrov
## If no one connects after 5 minutes, shut down the server
wait-timeout-minutes: 5
wait-timeout-minutes: 30

- name: Build Package
run: |
conda build .
# - name: Build Package
# run: |
# conda build .

- name: Test Package
run: |
echo Empty test
# - name: Test Package
# run: |
# echo Empty test

- name: Upload Linux
if: ${{ matrix.os == env.LINUX_VERSION }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/unix_conda_build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: UnixCondaBuild

# Build on demand till the bugs are ironed out.
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:

# on:
# push:
# branches: [ "master" ]
# pull_request:
# branches: [ "master" ]

env:
# Note that this the Ubuntu version shows up twice below, because of
Expand Down

0 comments on commit b845b9c

Please sign in to comment.