Skip to content

Commit

Permalink
Fix cargo dinghy attempting to run objc2-proc-macro tests
Browse files Browse the repository at this point in the history
These are compiled for the host system, and hence fail when trying to execute them in the simulator
  • Loading branch information
madsmtm committed Jan 18, 2022
1 parent 4243228 commit 26c9991
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ jobs:
~/extern/lib
~/extern/include
~/extern/sdk
# Change this key if we start caching more things
key: ${{ matrix.name }}-extern-v1
# Change this key if we start caching something different
key: ${{ matrix.name }}-extern-v2

- name: Setup environment
# These add to PATH-like variables, so they can always be set
Expand Down Expand Up @@ -268,7 +268,8 @@ jobs:

- name: Install Cargo Dinghy
if: matrix.dinghy && steps.extern-cache.outputs.cache-hit != 'true'
run: cargo install cargo-dinghy --version=^0.4 --root=$HOME/extern --target=x86_64-apple-darwin
# Custom branch, see https://github.com/sonos/dinghy/pull/144
run: cargo install cargo-dinghy --git https://github.com/madsmtm/dinghy --branch dont-test-proc-macro --bin cargo-dinghy --root=$HOME/extern --target=x86_64-apple-darwin

- name: Run Cargo Dinghy
if: matrix.dinghy
Expand Down

0 comments on commit 26c9991

Please sign in to comment.