Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows … #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Builds and tests the core and the iOS framework. | |
# This workflow runs on macOS, which is not free. Therefore it is run only on merges to main and | |
# not on every push. | |
name: ios | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build-test-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ios-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-v3 | |
- name: Install Rust 1.60.0 toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.60.0 | |
override: true | |
components: rustfmt, clippy | |
- name: Install cargo-lipo | |
run: cargo install cargo-lipo | |
- name: Install rustup iOS targets | |
run: rustup target add aarch64-apple-ios x86_64-apple-ios | |
- name: Install bitcode-enabled Rust iOS toolchain | |
run: | | |
wget https://github.com/getditto/rust-bitcode/releases/download/nightly-2021-10-05/rust-ios-arm64-nightly-2021-10-05.zip | |
unzip rust-ios-arm64-nightly-2021-10-05.zip | |
cd rust-ios-arm64-nightly-2021-10-05 | |
sh ./install.sh | |
cd .. | |
- name: Run CI script | |
run: ./ci-ios.sh |