Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Apr 2, 2024
1 parent 91f2531 commit 159ab52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,32 @@ jobs:
matrix:
include:
- os: ubuntu-latest
target-platform: linux-64
target-platform: linux-x86_64
- os: ubuntu-latest
target-platform: linux-aarch64
- os: windows-latest
target-platform: win-64
- os: macos-latest
target-platform: osx-64
- os: macos-latest
- os: macos-latest-large
target-platform: osx-intel
- os: macos-latest-xlarge
target-platform: osx-arm64
runs-on: ${{ matrix.os }}
defaults:
run:
# Required for conda-incubator/setup-miniconda@v3
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get conda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.9
python-version: 3.12
channels: conda-forge
miniconda-version: latest
- name: Prepare
run: conda install anaconda-client conda-build conda-verify
run: conda install anaconda-client conda-build=24.1.2 conda-verify py-lief=0.12.3
- name: Build and Upload
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
Expand All @@ -37,6 +42,7 @@ jobs:
if [ "${{ matrix.target-platform }}" == "osx-arm64" ]; then
conda build --user microsoft . -m conda_build_config.yaml -m conda_build_config_osx_arm64.yaml
elif [ "${{ matrix.target-platform }}" == "linux-aarch64" ]; then
conda install cross-python_linux-aarch64
conda build --user microsoft . -m conda_build_config.yaml -m conda_build_config_linux_aarch64.yaml
else
conda build --user microsoft . -m conda_build_config.yaml
Expand Down
2 changes: 1 addition & 1 deletion meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ requirements:
- greenlet ==3.0.1
- pyee ==11.0.1
- typing_extensions # [py<39]
test:
test: # [build_platform == target_platform]
requires:
- pip
imports:
Expand Down

0 comments on commit 159ab52

Please sign in to comment.