Skip to content

Commit

Permalink
qwer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bioblaze committed Dec 18, 2024
1 parent 9a16ba9 commit 37275a6
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/get_apple_sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ jobs:
- name: Clone and Setup osxcross
run: |
git clone https://github.com/tpoechtrager/osxcross.git ~/osxcross
cd ~/osxcross
git clone https://github.com/tpoechtrager/osxcross.git ${{ github.workspace }}/osxcross
cd ${{ github.workspace }}/osxcross
echo "✅ osxcross repository cloned." >> $GITHUB_STEP_SUMMARY
- name: Generate SDK Package
run: |
XCODE_VERSION=15.4
./osxcross/tools/gen_sdk_package.sh "/Applications/Xcode_$XCODE_VERSION.app"
${{ github.workspace }}/osxcross/tools/gen_sdk_package.sh "/Applications/Xcode_$XCODE_VERSION.app"
ls -la
echo "✅ SDK package generated using gen_sdk_package.sh." >> $GITHUB_STEP_SUMMARY
- name: Build osxcross
run: |
cd ~/osxcross
cd ${{ github.workspace }}/osxcross
export OSXCROSS_ENABLE_WERROR_IMPLICIT_FUNCTION_DECLARATION=1
export OSXCROSS_GCC_NO_STATIC_RUNTIME=1
UNATTENDED=1 TARGET_DIR=/usr/local/osxcross ./build.sh
Expand All @@ -65,19 +65,6 @@ jobs:
/usr/local/osxcross/bin/x86_64-apple-darwin20.2-gcc --version
echo "✅ osxcross installation validated." >> $GITHUB_STEP_SUMMARY
- name: Build Clang
run: |
cd ~/osxcross
OCDEBUG=1 ./build_clang.sh
echo "✅ Clang built successfully." >> $GITHUB_STEP_SUMMARY
- name: Build GCC
run: |
cd ~/osxcross
GCC_VERSION=12.2.0 ENABLE_FORTRAN=1 ./build_gcc.sh
echo "✅ GCC built successfully (version 12.2.0 with Fortran enabled)." >> $GITHUB_STEP_SUMMARY
- name: Upload osxcross SDK as Artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 37275a6

Please sign in to comment.