diff --git a/.ci/changelog.sh b/.ci/changelog.sh index c5a18ca..4ed1a06 100755 --- a/.ci/changelog.sh +++ b/.ci/changelog.sh @@ -43,4 +43,5 @@ artifact "Solaris (amd64)" solaris-amd64 artifact "FreeBSD (amd64)" freebsd-amd64 artifact "OpenBSD (amd64)" openbsd-amd64 artifact macOS macos-universal +artifact iOS ios-aarch64 artifact Source source \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 384b615..5e0e20a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,6 +80,18 @@ jobs: arch: universal platform: macos + - os: macos-latest + arch: aarch64 + ios_target: iphoneos + platform: ios + + # TODO(crueter): Proper support for iphonesimulator + # Requires CPMUtil changes. + # - os: macos-latest + # arch: aarch64 + # ios_target: iphonesimulator + # platform: ios-simulator + defaults: run: shell: ${{ matrix.platform == 'mingw' && 'msys2 {0}' || 'bash {0}' }} @@ -110,6 +122,12 @@ jobs: run: | cmake -S . -B build -DSIRIT_BUILD_STATIC=ON -G Ninja -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_BUILD_TYPE=Release + - name: Configure (iOS) + if: ${{ matrix.ios_target }} + run: | + cmake -S . -B build -DSIRIT_BUILD_STATIC=ON -G Ninja -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_COMPILER="$(xcrun --sdk ${{ matrix.ios_target }} --find clang)" -DCMAKE_CXX_COMPILER="$(xcrun --sdk ${{ matrix.ios_target }} --find clang++)" + - name: Build run: | cmake --build build -j$(nproc) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb4a5db..e7e4177 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,14 +44,6 @@ jobs: name: Sirit ${{ github.ref_name }} tag_name: ${{ github.ref_name }} files: | - windows-*/*.tar.zst* - mingw-*/*.tar.zst* - android-*/*.tar.zst* - solaris-*/*.tar.zst* - freebsd-*/*.tar.zst* - openbsd-*/*.tar.zst* - linux-*/*.tar.zst* - macos-*/*.tar.zst* - source/*.tar.zst* + */*.tar.zst* make_latest: true