diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..99b0105 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Release + +on: + push: + tags: ["*.*.*"] + +jobs: + macos-build: + name: macOS + runs-on: macos-26 + strategy: + matrix: + swift: ["6.3"] + steps: + - name: Set up Xcode + run: sudo xcode-select -s "/Applications/Xcode_26.4.app" + - uses: actions/checkout@v6 + with: + submodules: true + - name: Build XCFramework + run: ./Scripts/create-xcframework.sh + - name: Upload XCFramework + uses: actions/upload-artifact@v7 + with: + path: .build/Xcode/Frameworks/Compute.xcframework.zip + archive: false diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index a89ace0..b814880 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -28,11 +28,6 @@ jobs: run: swift test - name: Build XCFramework run: ./Scripts/create-xcframework.sh - - name: Upload XCFramework - uses: actions/upload-artifact@v7 - with: - path: .build/Xcode/Frameworks/Compute.xcframework.zip - archive: false linux-build: name: Linux