Skip to content

Commit

Permalink
feat: CI workflow using minimalist swift commands
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Jan 28, 2025
1 parent 8354881 commit da624b8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI workflow

on:
pull_request:
branches: [ main ]

jobs:
build_and_test_macOS:
name: Build and Test project on macOS
runs-on: [ self-hosted, macOS ]

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: swift build
- name: Test
run: swift test

0 comments on commit da624b8

Please sign in to comment.