Skip to content

Commit

Permalink
Initialize documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xWDG authored Aug 8, 2024
0 parents commit aaa2c9f
Show file tree
Hide file tree
Showing 11 changed files with 546 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .github/workflows/build-documentation.yml

name: build-documentation

on:
# Run on push to main branch
push:
branches:
- main

# Dispatch if triggered using Github (website)
workflow_dispatch:

jobs:
Build-documentation:
runs-on: macos-latest
steps:
- name: Build documentation
uses: 0xWDG/build-documentation@main
17 changes: 17 additions & 0 deletions .github/workflows/build-multiplatform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .github/workflows/build-multiplatform.yml

name: Build-Packages

on:
# Run on pull_request
pull_request:

# Dispatch if triggered using Github (website)
workflow_dispatch:

jobs:
Build-Packages:
runs-on: macos-latest
steps:
- name: Build Swift Packages
uses: 0xWDG/build-swift@main
16 changes: 16 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Run Swiftlint
on:
push:
pull_request:
workflow_dispatch:

jobs:
swiftlint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: SwiftLint
run: |
brew install swiftlint
swiftlint --reporter github-actions-logging --strict
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run tests on Linux and macOS
on:
push:
workflow_dispatch:

jobs:
test_linux:
if: true
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3

- name: Swift test
run: swift test

test_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: Swift test
run: swift test
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

### Swift Package Manager
Packages/
Package.pins
Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
.swiftpm
.build/

### CocoaPods
Pods/
*.xcworkspace

### Carthage
Carthage/Checkouts
Carthage/Build/

### Accio dependency management
Dependencies/
.accio/

### fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

### Code Injection
iOSInjectionProject/
4 changes: 4 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [spm-template]
Loading

0 comments on commit aaa2c9f

Please sign in to comment.