Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Commit

Permalink
Update macOS.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Mar 25, 2024
1 parent 6b69ffc commit 5ee291c
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: macOS

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: ["**"]

jobs:
build:
runs-on: macos-latest
runs-on: macos-13

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- uses: swift-actions/setup-swift@v1
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v3
- name: Build for release
run: swift build -v -c release
- name: Test
run: swift test -v

0 comments on commit 5ee291c

Please sign in to comment.