diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b957698..98c7d7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,16 +20,16 @@ jobs: - name: Configure CMake run: | - cmake -B Build -A ${{ matrix.arch }} + cmake -B Build -A ${{matrix.arch}} - name: Build run: | - cmake --build Build --config ${{ matrix.config }} + cmake --build Build --config ${{matrix.config}} - name: Test working-directory: Build run: | - ctest -C ${{ matrix.config }} --output-on-failure --verbose + ctest -C ${{matrix.config}} --output-on-failure --verbose macos: name: macOS @@ -41,19 +41,19 @@ jobs: steps: - uses: actions/checkout@v4 + # Tests are disabled until we can fix the build errors. - name: Configure CMake run: | - cmake -B Build -G Xcode -DARCANA_TESTS=OFF + cmake -B Build -G Xcode -D ARCANA_TESTS=OFF + + - name: Build + run: | + cmake --build Build --config ${{matrix.config}} - # Commented out until tests are re-enabled - # - name: Build - # run: | - # cmake --build Build --config ${{ matrix.config }} - # # - name: Test # working-directory: Build # run: | - # ctest -C ${{ matrix.config }} --output-on-failure --verbose + # ctest -C ${{matrix.config}} --output-on-failure --verbose ios: name: iOS @@ -66,14 +66,24 @@ jobs: steps: - uses: actions/checkout@v4 + # Tests are disabled until we can fix the build errors and figure out how to run them on the simulator. - name: Configure CMake for iOS run: | cmake -B Build -G Xcode \ - -DCMAKE_SYSTEM_NAME=iOS \ - -DCMAKE_OSX_DEPLOYMENT_TARGET=12.0 \ - -DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO \ - -DCMAKE_IOS_INSTALL_COMBINED=YES \ - -DARCANA_TESTS=OFF + -D CMAKE_SYSTEM_NAME=iOS \ + -D CMAKE_OSX_DEPLOYMENT_TARGET=12.0 \ + -D CMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO \ + -D CMAKE_IOS_INSTALL_COMBINED=YES \ + -D ARCANA_TESTS=OFF + + - name: Build + run: | + cmake --build Build --config ${{matrix.config}} + + # - name: Test + # working-directory: Build + # run: | + # ctest -C ${{matrix.config}} --output-on-failure --verbose linux: name: Linux @@ -96,22 +106,22 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y ${{ matrix.cc }} ${{ matrix.cxx }} + sudo apt-get install -y ${{matrix.cc }} ${{ matrix.cxx}} + # Tests are disabled until we can fix the build errors. - name: Configure CMake run: | cmake -B Build \ - -DCMAKE_BUILD_TYPE=${{ matrix.config }} \ - -DCMAKE_C_COMPILER=${{ matrix.cc }} \ - -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} \ - -DARCANA_TESTS=OFF + -D CMAKE_BUILD_TYPE=${{matrix.config}} \ + -D CMAKE_C_COMPILER=${{matrix.cc}} \ + -D CMAKE_CXX_COMPILER=${{matrix.cxx}} \ + -D ARCANA_TESTS=OFF - # Commented out until tests are re-enabled - # - name: Build - # run: | - # cmake --build Build --config ${{ matrix.config }} - # - # - name: Test - # working-directory: Build - # run: | - # ctest -C ${{ matrix.config }} --output-on-failure --verbose + - name: Build + run: | + cmake --build Build --config ${{matrix.config}} + + # - name: Test + # working-directory: Build + # run: | + # ctest -C ${{matrix.config}} --output-on-failure --verbose diff --git a/README.md b/README.md index 3045a5b..9a9a693 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ You can learn more about API usage in the [arcana.cpp documentation](Source/Arca ### Prerequisites - CMake 3.15 or higher -- A C++20 compatible compiler (Visual Studio 2022+, GCC 11+, or Clang 12+) +- A C++20 compatible compiler (Visual Studio 2022+, GCC 11+, or Clang 14+) ### Building with CMake