Skip to content

Commit

Permalink
Merge pull request #19 from Infomaniak/minimalist-ci-build
Browse files Browse the repository at this point in the history
feat: CI workflow using minimalist swift commands
  • Loading branch information
valentinperignon authored Jan 29, 2025
2 parents 8354881 + da624b8 commit a29c1f6
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 a29c1f6

Please sign in to comment.