chore(react-native-example): upgrade example app & fix detox tests #1088
Workflow file for this run
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
name: ci-wrapper-c | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build_test: | |
name: Build & Test C Wrapper | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: ./wrappers/c | |
steps: | |
- name: Checkout | |
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # pin@v3.5.1 | |
- name: Setup rust toolchain | |
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # pin@v1.0.6 | |
with: | |
toolchain: nightly # Note this has to be nightly because the header generation step does not work on stable | |
override: true | |
- name: Generate headers | |
run: make generate_headers | |
shell: bash | |
- name: Build | |
run: make build | |
shell: bash | |
- name: Test | |
run: make test | |
shell: bash | |
- name: Run leaks | |
run: make check_leaks_macos | |
shell: bash |