Repository navigation
refactor: 25% smaller CoreCompiler end binary #81
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build LLVM XCFrameworks for Release | |
| on: [push] | |
| jobs: | |
| prepare-build-tools: | |
| runs-on: macos-latest | |
| if: ${{ false }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: ./build-tools.sh | |
| - run: | | |
| curl -OL https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-mac.zip | |
| unzip ninja-mac.zip | |
| mv ninja tools/bin | |
| - run: tar -cJf tools.tar.xz tools/ | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: tools | |
| path: tools.tar.xz | |
| build-llvm: | |
| runs-on: macos-latest | |
| timeout-minutes: 1200 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: | | |
| make all | |
| - name: create llvm framework archive | |
| run: tar -cJf LLVM.xcframework.tar.xz LLVM.xcframework | |
| - name: create CoreCompiler framework archive | |
| run: tar -cJf CoreCompiler.framework.tar.xz CoreCompiler.framework | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: LLVM.xcframework | |
| path: LLVM.xcframework.tar.xz | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: CoreCompiler.framework | |
| path: CoreCompiler.framework.tar.xz |