Skip to content

Commit 2436c78

Browse files
authored
Initial commit
0 parents  commit 2436c78

11 files changed

+612
-0
lines changed
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .github/workflows/build-documentation.yml
2+
3+
name: build-documentation
4+
5+
on:
6+
# Run on push to main branch
7+
push:
8+
branches:
9+
- main
10+
11+
# Dispatch if triggered using Github (website)
12+
workflow_dispatch:
13+
14+
jobs:
15+
Build-documentation:
16+
runs-on: macos-latest
17+
steps:
18+
- name: Build documentation
19+
uses: 0xWDG/build-documentation@main
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# .github/workflows/build-multiplatform.yml
2+
3+
name: Build-Packages
4+
5+
on:
6+
# Run on pull_request
7+
pull_request:
8+
9+
# Dispatch if triggered using Github (website)
10+
workflow_dispatch:
11+
12+
jobs:
13+
Build-Packages:
14+
runs-on: macos-latest
15+
steps:
16+
- name: Build Swift Packages
17+
uses: 0xWDG/build-swift@main

.github/workflows/swiftlint.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Run Swiftlint
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
swiftlint:
9+
runs-on: macos-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: SwiftLint
14+
run: |
15+
brew install swiftlint
16+
swiftlint --reporter github-actions-logging --strict

.github/workflows/tests.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run tests on Linux and macOS
2+
on:
3+
push:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test_linux:
8+
if: true
9+
runs-on: ubuntu-latest
10+
continue-on-error: true
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Swift test
15+
run: swift test
16+
17+
test_macos:
18+
runs-on: macos-latest
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Swift test
23+
run: swift test

.gitignore

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
## User settings
2+
xcuserdata/
3+
4+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
5+
*.xcscmblueprint
6+
*.xccheckout
7+
8+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
9+
build/
10+
DerivedData/
11+
*.moved-aside
12+
*.pbxuser
13+
!default.pbxuser
14+
*.mode1v3
15+
!default.mode1v3
16+
*.mode2v3
17+
!default.mode2v3
18+
*.perspectivev3
19+
!default.perspectivev3
20+
21+
## Obj-C/Swift specific
22+
*.hmap
23+
24+
## App packaging
25+
*.ipa
26+
*.dSYM.zip
27+
*.dSYM
28+
29+
## Playgrounds
30+
timeline.xctimeline
31+
playground.xcworkspace
32+
33+
### Swift Package Manager
34+
Packages/
35+
Package.pins
36+
Package.resolved
37+
# *.xcodeproj
38+
#
39+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
40+
# hence it is not needed unless you have added a package configuration file to your project
41+
.swiftpm
42+
.build/
43+
44+
### CocoaPods
45+
Pods/
46+
*.xcworkspace
47+
48+
### Carthage
49+
Carthage/Checkouts
50+
Carthage/Build/
51+
52+
### Accio dependency management
53+
Dependencies/
54+
.accio/
55+
56+
### fastlane
57+
fastlane/report.xml
58+
fastlane/Preview.html
59+
fastlane/screenshots/**/*.png
60+
fastlane/test_output
61+
62+
### Code Injection
63+
iOSInjectionProject/

.spi.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
version: 1
2+
builder:
3+
configs:
4+
- documentation_targets: [spm-template]

0 commit comments

Comments
 (0)