Skip to content
Merged
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
1 change: 1 addition & 0 deletions .ci/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}' }}
Expand Down Expand Up @@ -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)
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading