Skip to content

Commit

Permalink
First try at github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Sep 22, 2020
1 parent 19ce191 commit 2712925
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ jobs:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-C debuginfo=0 -D warnings"

- name: Install cargo-lipo
run: cargo install cargo-lipo
if: ${{ runner.os == 'macOS' }}

- name: Add iOS targets
run: rustup target add aarch64-apple-ios x86_64-apple-ios
if: ${{ runner.os == 'macOS' }}

- name: Add iOS targets
run: cd examples/ios && make xcodebuild
if: ${{ runner.os == 'macOS' }}

clean:
runs-on: ubuntu-latest
steps:
Expand All @@ -65,7 +77,7 @@ jobs:
toolchain: nightly
components: rustfmt, clippy
override: true

- name: Install alsa
run: sudo apt-get install --no-install-recommends libasound2-dev

Expand Down
3 changes: 2 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,5 @@ Then serve `examples/wasm` dir to browser. i.e.
If you'd like to see xcode do stuff, you can run
$ open bevy_ios_example.xcodeproj/

which will open xcode. You then must push the zoom zoom play button.
which will open xcode. You then must push the zoom zoom play button and wait
for the magic.

0 comments on commit 2712925

Please sign in to comment.