mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
3529dd6fdf
* Simplify syntax & lint. Combine apt installations into a single step. Future-proof OS selections. * Remove caching * Run clippy within the linux stable build. Parallelize all the builds. Cargo check is unneeded. * build and run tests on windows and macos
36 lines
783 B
YAML
36 lines
783 B
YAML
name: iOS cron CI
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: |
|
|
target
|
|
key: ${{ runner.os }}-cargo-check-test-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
- uses: actions-rs/install@v0.1
|
|
with:
|
|
crate: cargo-lipo
|
|
version: latest
|
|
|
|
- name: Add iOS targets
|
|
run: rustup target add aarch64-apple-ios x86_64-apple-ios
|
|
|
|
- name: Build and install iOS app in iOS Simulator.
|
|
run: cd examples/ios && make install
|