Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/matrix.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"xcode_version": [
"15.4"
"16.4"
]
}
30 changes: 29 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
test:
name: Test
needs: generate-matrix
runs-on: macOS-14
runs-on: macOS-15
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
Expand Down Expand Up @@ -67,5 +67,33 @@ jobs:
run: |
swift package resolve
sudo swift .build/checkouts/ClangSwift/utils/make-pkgconfig.swift
- name: Build
run: swift build
- name: Test
run: swift test
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: .build/debug/sbgen
name: sbgen-${{ github.sha }}-xcode-${{ matrix.xcode_version }}
run-binary:
name: Run Binary
needs: [generate-matrix, test]
runs-on: macOS-15
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer
steps:
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: sbgen-${{ github.sha }}-xcode-${{ matrix.xcode_version }}
- name: Run sbgen
run: |
mv .build/debug/sbgen ./sbgen
./sbgen --help
./sbgen /System/Applications/Music.app
ls -l
Loading