message: ios_toolchain: set ENABLE_STRICT_TRY_COMPILE
diff: @@ -475,7 +475,7 @@ jobs:
  echo "CROSS_TOP=$(dirname $(dirname $(xcrun --sdk iphoneos --show-sdk-path)))" >> $GITHUB_ENV
  echo "CROSS_SDK=$(basename $(xcrun --sdk iphoneos --show-sdk-path))" >> $GITHUB_ENV
  - name: configure
  - run: OPENSSL_PLATFORM=ios64-xcrun cmake $superbuild $cmake_prefix_path -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=OS -DDEPLOYMENT_TARGET=11.0 -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=OFF -j 2 -Bbuild/ios -H.
  + run: OPENSSL_PLATFORM=ios64-xcrun cmake $superbuild $cmake_prefix_path -DENABLE_STRICT_TRY_COMPILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=OS -DDEPLOYMENT_TARGET=11.0 -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=OFF -j 2 -Bbuild/ios -H.
  - name: build
  run: cmake --build build/ios -j 2
  - uses: actions/upload-artifact@v2
  @@ -505,7 +505,7 @@ jobs:
  echo "CROSS_TOP=$(dirname $(dirname $(xcrun --sdk iphonesimulator --show-sdk-path)))" >> $GITHUB_ENV
  echo "CROSS_SDK=$(basename $(xcrun --sdk iphonesimulator --show-sdk-path))" >> $GITHUB_ENV
  - name: configure
  - run: OPENSSL_PLATFORM=iossimulator-xcrun cmake $superbuild $cmake_prefix_path -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 -DDEPLOYMENT_TARGET=11.0 -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=OFF -j 2 -Bbuild/ios_simulator -H.
  + run: OPENSSL_PLATFORM=iossimulator-xcrun cmake $superbuild $cmake_prefix_path -DENABLE_STRICT_TRY_COMPILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 -DDEPLOYMENT_TARGET=11.0 -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=OFF -j 2 -Bbuild/ios_simulator -H.
  - name: build
  run: cmake --build build/ios_simulator -j 2
  - uses: actions/upload-artifact@v2
  