Skip to content

Commit

Permalink
Rebuild for all os's
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Sep 5, 2024
1 parent 77338d2 commit 945e2e5
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/build_conda_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,31 @@ on:
- ".github/workflows/build_conda_ci.yml"

env:
RUN_BUILD_JOB: false
RUN_BUILD_JOB: true
RUN_ID: 10712122474

jobs:
build:
name: >-
${{ github.event.inputs.RUN_BUILD_JOB == 'false'
&& 'Skip '
|| ''}}
Build package from push (${{ matrix.os }})
name: Build package from push (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-2022", "ubuntu-22.04"] #, "macos-14"] # TODO(LM): Uncomment
os: ["windows-2022", "ubuntu-22.04", "macos-14"]
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymatrixinclude
include:
# Use these variables as defaults
- condarc: .conda/condarc.yaml
- conda-folder: .conda
- pyver: "3.10"
- build-prefix: win
# TODO(LM): Uncomment to run on all os's
- os: "ubuntu-22.04"
build-prefix: linux
# Use special condarc if macos
# - os: "macos-14"
# condarc: .conda_mac/condarc.yaml
# conda-folder: .conda_mac
# build-prefix: osx
- os: "macos-14"
condarc: .conda_mac/condarc.yaml
conda-folder: .conda_mac
build-prefix: osx

steps:
# Setup
Expand Down Expand Up @@ -103,7 +98,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["windows-2022", "ubuntu-22.04"] # , "macos-14"] # TODO(LM): Uncomment
os: ["windows-2022", "ubuntu-22.04", "macos-14"]
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymatrixinclude
include:
# Default values
Expand All @@ -113,7 +108,6 @@ jobs:
- condarc: .conda/condarc.yaml
- pyver: "3.10"
- conda-channels: -c conda-forge -c nvidia -c anaconda
# TODO(LM): Uncomment to run on all OS's
# Ubuntu specific values
- os: ubuntu-22.04
build-prefix: linux
Expand All @@ -124,11 +118,11 @@ jobs:
export DISPLAY=":1"
pytest tests -k 'not exclude_from_linux_pip_test'
# Use special condarc if macos
# - os: "macos-14"
# build-prefix: osx
# build-suffix: arm64
# condarc: .conda_mac/condarc.yaml
# conda-channels: -c conda-forge -c anaconda
- os: "macos-14"
build-prefix: osx
build-suffix: arm64
condarc: .conda_mac/condarc.yaml
conda-channels: -c conda-forge -c anaconda

steps:
- name: Checkout repo
Expand Down

0 comments on commit 945e2e5

Please sign in to comment.