Skip to content

feat: Check if email is valid #155

feat: Check if email is valid

feat: Check if email is valid #155

Workflow file for this run

name: CI workflow
on:
pull_request:
branches: [ master ]
jobs:
build_and_test_iOS:
name: Build and Test project on iOS
runs-on: [ self-hosted, iOS ]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: xcodebuild -scheme InfomaniakCore build -destination "platform=iOS Simulator,name=iPhone 16,OS=latest"
- name: Test
run: Scripts/prepareForTesting.sh && xcodebuild -scheme InfomaniakCore-Package test -destination "platform=iOS Simulator,name=iPhone 16,OS=latest"
build_and_test_macOS:
name: Build and Test project on macOS
runs-on: [ self-hosted, macOS ]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: swift build
- name: Test
run: Scripts/prepareForTesting.sh && swift test