Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 39 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down