Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
ci: no additional sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lessica committed Mar 7, 2024
1 parent 000d76f commit 23a630e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 38 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/analyse-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,50 +40,13 @@ jobs:
rm -rf $GITHUB_WORKSPACE/theos/sdks
echo "THEOS=$GITHUB_WORKSPACE/theos" >> $GITHUB_ENV
- name: Restore additional SDKs
id: cached-sdks-restore
uses: actions/cache/restore@v4
with:
path: ${{ env.THEOS }}/sdks
key: ${{ runner.os }}-sdks-${{ env.XCODE_VERSION }}

- if: ${{ steps.cached-sdks-restore.outputs.cache-hit != 'true' }}
name: Checkout theos/sdks
- name: Checkout theos/sdks
uses: actions/checkout@v4
with:
repository: theos/sdks
ref: master
path: ${{ env.THEOS }}/sdks

- if: ${{ steps.cached-sdks-restore.outputs.cache-hit != 'true' }}
name: Checkout XXTouchNG/tbd
uses: actions/checkout@v4
with:
repository: XXTouchNG/tbd
ref: 30a6883092221e13d814c02ac41af1e565a40617
path: tbd

- if: ${{ steps.cached-sdks-restore.outputs.cache-hit != 'true' }}
name: Build tbd
run: |
cd $GITHUB_WORKSPACE/tbd
make
cp bin/tbd /usr/local/bin/tbd
- if: ${{ steps.cached-sdks-restore.outputs.cache-hit != 'true' }}
name: Generate additional SDKs
run: |
cd $THEOS/sdks
python3 create_patched_sdk.py --no-overwrite -x $(dirname $(dirname $(xcode-select -p)))
- if: ${{ steps.cached-sdks-restore.outputs.cache-hit != 'true' }}
name: Save additional SDKs
id: cached-sdks-save
uses: actions/cache/save@v4
with:
path: ${{ env.THEOS }}/sdks
key: ${{ steps.cached-sdks-restore.outputs.cache-primary-key }}

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
rm -rf $GITHUB_WORKSPACE/theos/sdks
echo "THEOS=$GITHUB_WORKSPACE/theos" >> $GITHUB_ENV
- name: Checkout theos/sdks
uses: actions/checkout@v4
with:
repository: theos/sdks
ref: master
path: ${{ env.THEOS }}/sdks

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 23a630e

Please sign in to comment.