Skip to content

Commit

Permalink
link freetype on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmanDris committed May 24, 2024
1 parent a9a37e2 commit 43bc69d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,10 @@ jobs:
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

- name: Upload Build Artifacts (Linux GCC)
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'gcc'
uses: actions/upload-artifact@v3
with:
name: chessengine-binaries-linux-${{ matrix.build_type }}
path: ${{ steps.strings.outputs.build-output-dir }}/
- name: Adjust Library Paths (macOS only)
if: matrix.os == 'macos-latest'
run: |
install_name_tool -change @rpath/../Frameworks/freetype.framework/Versions/A/freetype @executable_path/../Frameworks/freetype.framework/Versions/A/freetype ${{ steps.strings.outputs.build-output-dir }}/bin/ChessEngines
- name: Upload Build Artifacts (macOS)
if: matrix.os == 'macos-latest' && matrix.c_compiler == 'gcc'
Expand All @@ -98,6 +96,13 @@ jobs:
name: chessengine-binaries-macos-${{ matrix.build_type }}
path: ${{ steps.strings.outputs.build-output-dir }}/

- name: Upload Build Artifacts (Linux GCC)
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'gcc'
uses: actions/upload-artifact@v3
with:
name: chessengine-binaries-linux-${{ matrix.build_type }}
path: ${{ steps.strings.outputs.build-output-dir }}/

- name: Upload Build Artifacts (Windows)
if: matrix.os == 'windows-latest' && matrix.c_compiler == 'cl'
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 43bc69d

Please sign in to comment.