Skip to content

Commit

Permalink
fix missing step
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jun 18, 2024
1 parent a6137ad commit 36dce68
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/cmake-multi-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,28 @@ jobs:
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++

- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"

- name: Configure CMake
steps:
- uses: actions/checkout@v3

- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"

- name: Configure CMake

run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-G Xcode -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake
-DPLATFORM=OS64 -DARCHS="arm64
-DDEPLOYMENT_TARGET=9.0
-S ${{ github.workspace }}
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-G Xcode -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake
-DPLATFORM=OS64 -DARCHS="arm64
-DDEPLOYMENT_TARGET=9.0
-S ${{ github.workspace }}
- name: Build
# Build your program with the given configuration.
run: cmake --build ${{ steps.strings.outputs.build-output-dir }}
- name: Build
# Build your program with the given configuration.
run: cmake --build ${{ steps.strings.outputs.build-output-dir }}

0 comments on commit 36dce68

Please sign in to comment.