Skip to content

Commit

Permalink
ci: workaround Cargo issue with environment variable config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Jan 31, 2025
1 parent fce4397 commit 1bcd627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ jobs:
- name: 🔨 Build with optimized standard library
env:
# Simulate universal2-apple-darwin target through Cargo's native simultaneous multi-target support
CARGO_BUILD_TARGET_PARAMS: ${{ matrix.target == 'universal2-apple-darwin' &&
TARGET_PARAMS: ${{ matrix.target == 'universal2-apple-darwin' &&
'--target x86_64-apple-darwin --target aarch64-apple-darwin' || format('--target {0}', matrix.target) }}
run: cargo build ${{ env.CARGO_BUILD_TARGET_PARAMS }} --release ${{ env.OPTIMIZED_RELEASE_BUILD_FLAGS }}
run: cargo build ${{ env.TARGET_PARAMS }} --release ${{ env.OPTIMIZED_RELEASE_BUILD_FLAGS }}

- name: 🔨 Assemble universal macOS binary
if: matrix.target == 'universal2-apple-darwin'
Expand Down

0 comments on commit 1bcd627

Please sign in to comment.