This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type | Linux | macOS | Windows | |
---|---|---|---|---|
Docker container | ✅ | ❌ | ❌ | |
JavaScript | ✅ | ✅ | ✅ | |
Composite Actions | ✅ | ✅ | ✅ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project Workflow | |
on: | |
push: | |
branches: [ "develop" ] | |
jobs: | |
clean_build_test: | |
runs-on: macos-latest | |
env: | |
ProjectName: SampleProject | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Project Workflow | |
on: | |
push: | |
branches: [ "develop" ] | |
jobs: | |
testing: | |
runs-on: macos-latest | |
env: | |
ProjectName: SampleProject | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project Workflow | |
on: | |
push: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
ProjectName: SampleProject | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clean Project Workflow | |
on: | |
push: | |
branches: [ "develop" ] | |
jobs: | |
clean: | |
runs-on: macos-latest | |
env: | |
ProjectName: SampleProject | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: swift build | |
- name: Run tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run: swift run Package | |
run: xcodebuild build -project ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Get Swift Version | |
run: swift --version | |
- name: Print Description | |
run: echo This step will print UmutSERIFLER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runs-on: ubuntu-latest | |
# or runs-on: ubuntu-20.04 | |
runs-on: macos-latest | |
# or macos-12 | |
runs-on: windows-latest | |
# or runs-on: windows-2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- 'releases/**' | |
pull_request: | |
branches: | |
- develop |
NewerOlder