Skip to content

Commit

Permalink
test for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Dec 11, 2024
1 parent 9f633d6 commit 8d1451b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions recipes/serial-monitor-rust/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ build:
- cargo --version
- if: osx
then:
- export MACOSX_DEPLOYMENT_TARGET=10.15 # or the correct macOS version
- export PATH="/usr/bin:$PATH" # Ensure that system Clang is used, not a potentially conflicting version
- cargo-bundle-licenses --format yaml --output ${SRC_DIR}/THIRDPARTY.yml
- cargo install --locked --bins --root ${PREFIX} --path .
- if: linux
Expand All @@ -36,6 +34,10 @@ requirements:
- if: win
then:
- rust=1.82
- if: osx
then:
- rust=1.82
- clang=15.0.0

host:
- cargo-bundle-licenses
Expand All @@ -51,11 +53,7 @@ requirements:
- conda-forge::libxkbcommon
- conda-forge::openssl
- conda-forge::libudev
- if: osx
then:
- ${{ compiler('rust') }}
- ${{ compiler('c') }}
- ${{ compiler('cxx') }}


run:
- if: linux
Expand Down

0 comments on commit 8d1451b

Please sign in to comment.