Skip to content
Open
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
38 changes: 35 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build-test:
strategy:
matrix:
target: [ 'x86_64-unknown-linux-gnu', 'aarch64-unknown-linux-gnu', 'x86_64-pc-windows-msvc', 'x86_64-apple-darwin', 'aarch64-apple-darwin' ]
target: [ 'x86_64-unknown-linux-gnu', 'aarch64-unknown-linux-gnu', 'x86_64-pc-windows-msvc', 'x86_64-apple-darwin', 'aarch64-apple-darwin', 'aarch64-apple-ios', 'aarch64-apple-ios-sim', 'aarch64-linux-android' ]
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
Expand All @@ -32,7 +32,12 @@ jobs:
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest

- target: aarch64-apple-ios
os: macos-latest
- target: aarch64-apple-ios-sim
os: macos-latest
- target: aarch64-linux-android
os: ubuntu-latest

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -60,6 +65,33 @@ jobs:
# Skip tests on Windows as compaction tests and some file system operations are not supported
run: make test

experimental-build:
runs-on: macos-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
target: [ 'aarch64-apple-tvos', 'aarch64-apple-tvos-sim', 'aarch64-apple-visionos', 'aarch64-apple-visionos-sim', 'aarch64-apple-watchos', 'aarch64-apple-watchos-sim' ]

steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup cache
uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: ${{ matrix.target }}
components: rustfmt, clippy
default: true

- name: Build
run: cargo +nightly build --target=${{ matrix.target }}

ci:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -92,7 +124,7 @@ jobs:
run: |
rustup target add wasm32-unknown-unknown
RUSTFLAGS="-A warnings --cfg getrandom_backend=\"wasm_js\"" cargo build --target wasm32-unknown-unknown

format:
runs-on: ubuntu-latest
steps:
Expand Down
Loading