Skip to content

Commit

Permalink
Fix-Build-MacOS-Action (#65)
Browse files Browse the repository at this point in the history
Fix build macos action
Co-authored-by: Vlad Stanev <[email protected]>
  • Loading branch information
adragnevVW authored Oct 24, 2024
1 parent a9e3a15 commit 3650c08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ runs:
run: |
mkdir xerces-c
cd xerces-c
curl -o xerces-c.zip https://dlcdn.apache.org/xerces/c/3/sources/xerces-c-3.2.5.zip
curl -o xerces-c.zip https://dlcdn.apache.org/xerces/c/3/sources/xerces-c-3.3.0.zip
tar -xf xerces-c.zip --strip-components=1
- name: Xerces-C - build arm64
shell: bash
working-directory: xerces-c
run: |
./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64"
./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" --enable-xmlch-uint16_t
make -j
make install
- name: Xerces-C - build x64
shell: bash
working-directory: xerces-c
run: |
./configure --disable-shared --prefix=$(pwd)/_build_mac_x64 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64"
./configure --disable-shared --prefix=$(pwd)/_build_mac_x64 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --enable-xmlch-uint16_t
make -j
make install
Expand Down

0 comments on commit 3650c08

Please sign in to comment.