Skip to content

Add custom directory migration and safer rollback (#54) #38

Add custom directory migration and safer rollback (#54)

Add custom directory migration and safer rollback (#54) #38

name: Post-merge Validation
on:
push:
branches: [ "main", "develop" ]
jobs:
post-merge-validation:
name: Post-merge Validation
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Xcode version
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- name: Run Data Directory Tests
run: |
xcodebuild test \
-scheme "AppPorts" \
-configuration Debug \
-destination 'platform=macOS' \
-derivedDataPath build \
-only-testing:"AppPortsTests/DataDirMoverTests" \
-only-testing:"AppPortsTests/DataDirScannerTests" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_ENTITLEMENTS="" \
CODE_SIGNING_ALLOWED=NO
- name: Run Localization Audit (Advisory)
continue-on-error: true
run: |
xcodebuild test \
-scheme "AppPorts" \
-configuration Debug \
-destination 'platform=macOS' \
-derivedDataPath build \
-only-testing:"AppPortsTests/LocalizationAuditTests" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_ENTITLEMENTS="" \
CODE_SIGNING_ALLOWED=NO
- name: Build App
run: |
xcodebuild clean build \
-scheme "AppPorts" \
-configuration Release \
-destination 'platform=macOS' \
-derivedDataPath build \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_ENTITLEMENTS="" \
CODE_SIGNING_ALLOWED=NO
- name: Zip Application
run: |
cd build/Build/Products/Release
zip -r ../../../../AppPorts.zip AppPorts.app
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: AppPorts-Unsigned
path: AppPorts.zip
retention-days: 5