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 85aab27 commit 000d76f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyse-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
THEOS: ''
GIT_TAG: ''
GIT_COMMIT: ''
XCODE_VERSION: '14.3.1'
XCODE_VERSION: '15.2'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.1
xcode-version: 15.2

- name: Checkout
uses: actions/checkout@v4
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,50 +39,6 @@ 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
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

0 comments on commit 000d76f

Please sign in to comment.