File tree Expand file tree Collapse file tree 3 files changed +35
-10
lines changed Expand file tree Collapse file tree 3 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 1+ # This workflow builds the project for all platforms.
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+ name : Build Runner
5+
6+ on :
7+ push :
8+ branches : ["main"]
9+ pull_request :
10+ branches : ["main"]
11+
12+ jobs :
13+ build :
14+ runs-on : macos-latest
15+ steps :
16+ - name : Checkout Code
17+ uses : actions/checkout@v5
18+ - name : Setup Xcode
19+ uses : maxim-lobanov/setup-xcode@v1
20+ with :
21+ xcode-version : latest-stable
22+ - name : Build for all platforms
23+ run : bash scripts/build.sh ${{ github.event.repository.name }}
Original file line number Diff line number Diff line change @@ -24,20 +24,20 @@ jobs:
2424 environment :
2525 name : github-pages
2626 url : ${{ steps.deployment.outputs.page_url }}
27- runs-on : macos-15
27+ runs-on : macos-latest
2828 steps :
29- - name : Checkout
30- uses : actions/checkout@v3
29+ - name : Checkout Code
30+ uses : actions/checkout@v5
3131 - id : pages
3232 name : Setup Pages
3333 uses : actions/configure-pages@v4
34- - name : Select Xcode version
34+ - name : Setup Xcode
3535 uses : maxim-lobanov/setup-xcode@v1
3636 with :
3737 xcode-version : latest-stable
3838 - name : Build DocC
3939 run : bash scripts/docc.sh ${{ github.event.repository.name }}
40- - name : Upload artifact
40+ - name : Upload Artifact
4141 uses : actions/upload-pages-artifact@v3
4242 with :
4343 path : ' .build/docs-iOS'
Original file line number Diff line number Diff line change 1- # This workflow builds and tests the project.
1+ # This workflow tests the project on all platforms .
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
33
44name : Unit Test Runner
1111
1212jobs :
1313 build :
14- runs-on : macos-15
14+ runs-on : macos-latest
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : maxim-lobanov/setup-xcode@v1
16+ - name : Checkout Code
17+ uses : actions/checkout@v5
18+ - name : Setup Xcode
19+ uses : maxim-lobanov/setup-xcode@v1
1820 with :
1921 xcode-version : latest-stable
20- - name : Run unit tests for all platforms
22+ - name : Run tests for all platforms
2123 run : bash scripts/test.sh ${{ github.event.repository.name }}
You can’t perform that action at this time.
0 commit comments