Skip to content

Update project (#25) #82

Update project (#25)

Update project (#25) #82

Workflow file for this run

name: macOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
macos-xcode:
runs-on: macos-latest
strategy:
matrix:
xcode: ["14.3.1", "15.4", "16.0"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- name: Test
run: swift test -c release --parallel --xunit-output .build/xUnit-output.xml
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4.4.3
with:
name: artifacts-macOS-${{ matrix.xcode }}-${{ github.run_id }}
path: |
.build/**/*.a
.build/**/*.bundle
.build/**/*.dSYM
.build/**/*.gdb
.build/**/*.json
.build/**/*.txt
.build/**/*.xctest
.build/*.json
.build/*.txt
.build/*.xml
.build/*.yaml
if-no-files-found: warn
include-hidden-files: true