Skip to content

Commit 377208e

Browse files
authored
chore(šŸ™): temporarily disable macOS build steps from CI configuration (#264)
1 parent d1fbeab commit 377208e

1 file changed

Lines changed: 33 additions & 34 deletions

File tree

ā€Ž.github/workflows/ci.ymlā€Ž

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242

4343
test:
4444
runs-on: macos-latest
45-
continue-on-error: true
4645
steps:
4746
- name: Checkout
4847
uses: actions/checkout@v3
@@ -164,36 +163,36 @@ jobs:
164163
- name: Build example for iOS
165164
run: |
166165
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
167-
168-
build-macos:
169-
runs-on: macos-latest
170-
env:
171-
TURBO_CACHE_DIR: .turbo/macos
172-
steps:
173-
- name: Checkout
174-
uses: actions/checkout@v3
175-
176-
- name: Setup
177-
uses: ./.github/actions/setup
178-
with:
179-
github_token: ${{ secrets.GITHUB_TOKEN }}
180-
181-
- name: Cache turborepo for macOS
182-
uses: actions/cache@v3
183-
with:
184-
path: ${{ env.TURBO_CACHE_DIR }}
185-
key: ${{ runner.os }}-turborepo-macos-${{ hashFiles('yarn.lock') }}
186-
restore-keys: |
187-
${{ runner.os }}-turborepo-macos-
188-
189-
- name: Check turborepo cache for macOS
190-
run: |
191-
TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:macos').cache.status")
192-
193-
if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
194-
echo "turbo_cache_hit=1" >> $GITHUB_ENV
195-
fi
196-
197-
- name: Build example for macOS
198-
run: |
199-
yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}"
166+
# We disable it until RNTA support 0.81
167+
# build-macos:
168+
# runs-on: macos-latest
169+
# env:
170+
# TURBO_CACHE_DIR: .turbo/macos
171+
# steps:
172+
# - name: Checkout
173+
# uses: actions/checkout@v3
174+
175+
# - name: Setup
176+
# uses: ./.github/actions/setup
177+
# with:
178+
# github_token: ${{ secrets.GITHUB_TOKEN }}
179+
180+
# - name: Cache turborepo for macOS
181+
# uses: actions/cache@v3
182+
# with:
183+
# path: ${{ env.TURBO_CACHE_DIR }}
184+
# key: ${{ runner.os }}-turborepo-macos-${{ hashFiles('yarn.lock') }}
185+
# restore-keys: |
186+
# ${{ runner.os }}-turborepo-macos-
187+
188+
# - name: Check turborepo cache for macOS
189+
# run: |
190+
# TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:macos').cache.status")
191+
192+
# if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
193+
# echo "turbo_cache_hit=1" >> $GITHUB_ENV
194+
# fi
195+
196+
# - name: Build example for macOS
197+
# run: |
198+
# yarn turbo run build:macos --cache-dir="${{ env.TURBO_CACHE_DIR }}"

0 commit comments

Comments
Ā (0)