Skip to content

Commit

Permalink
Remove windows macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Sep 21, 2024
1 parent e398453 commit cad18c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
os: ["ubuntu-latest"]
python-version: ["3.10"]
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -46,9 +46,7 @@ jobs:
conda config --show
printenv | sort
# Conditional build step to avoid using headless-gui on Windows
- name: Build Conda Package on non-Windows OS
if: matrix.os != 'windows-latest'
- name: Build Conda Package
uses: aganders3/headless-gui@v1
with:
shell: bash -el {0}
Expand All @@ -59,11 +57,3 @@ jobs:
# curl -sLO https://raw.githubusercontent.com/conda-forge/conda-forge-pinning-feedstock/084b098a28a7a66e9a0967d156bc55b9ebfc6726/recipe/conda_build_config.yaml
# curl -sLO https://github.com/conda-forge/conda-forge-pinning-feedstock/raw/main/recipe/conda_build_config.yaml
conda mambabuild .
- name: Build Conda Package on Windows
if: matrix.os == 'windows-latest'
run: |
conda config --add channels tpeulen
mamba install conda-build boa
cd conda-recipe
conda mambabuild .
6 changes: 3 additions & 3 deletions conda-recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rem "%BUILD_PREFIX%"\pyrcc5.bat chisurf/gui/resources/resource.qrc -o chisurf/gui/resources/resource.py
python setup.py build_ext --force --inplace
python setup.py install --single-version-externally-managed --record=record.txt
call "%BUILD_PREFIX%"\pyrcc5.bat chisurf/gui/resources/resource.qrc -o chisurf/gui/resources/resource.py
"%PYTHON%" setup.py build_ext --force --inplace
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt

0 comments on commit cad18c0

Please sign in to comment.