Skip to content

Commit

Permalink
chore(ci): Add a macOS workflow (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz authored Apr 11, 2024
1 parent e969fd5 commit 1e64a9a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
unit-tests-ios:
runs-on: blaze/macos-14
strategy:
matrix:
# also run for macos
destination: ["platform=iOS Simulator,name=iPhone 15 Pro"]
steps:
- name: Checkout Repo
Expand All @@ -21,3 +22,11 @@ jobs:
xcodebuild test -scheme SwiftAudioEx -destination "${destination}" -enableCodeCoverage YES
env:
destination: ${{ matrix.destination }}
unit-tests-macos:
runs-on: blaze/macos-14
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Run Tests
run: |-
swift test
10 changes: 6 additions & 4 deletions Example/macOS/SwiftAudio/SwiftAudio.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,17 @@
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"SwiftAudio/Preview Content\"";
DEVELOPMENT_TEAM = 75C92E9Q7J;
DEVELOPMENT_TEAM = 7U2TUNKNQX;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = net.redf.SwiftAudio;
PRODUCT_BUNDLE_IDENTIFIER = com.doublesymmetry.SwiftAudio;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
Expand All @@ -340,16 +341,17 @@
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"SwiftAudio/Preview Content\"";
DEVELOPMENT_TEAM = 75C92E9Q7J;
DEVELOPMENT_TEAM = 7U2TUNKNQX;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = net.redf.SwiftAudio;
PRODUCT_BUNDLE_IDENTIFIER = com.doublesymmetry.SwiftAudio;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
Expand Down

0 comments on commit 1e64a9a

Please sign in to comment.