Skip to content

Commit

Permalink
Merge pull request #291 from tayloraswift/resolve-starter-config
Browse files Browse the repository at this point in the history
sunday scaries
  • Loading branch information
tayloraswift authored Jun 30, 2024
2 parents cf32d15 + 32313ed commit 818d610
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This workflow builds the project under the “starter” configuration, namely, what you would get
# if you ran `swift build` without any arguments. We use this to verify that we can generate the
# documentation for Unidoc itself.

name: build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
linux:
runs-on: ubuntu-22.04
name: Ubuntu 22.04
env:
UNIDOC_ENABLE_INDEXSTORE: "0"
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build debug
run: |
swift --version
swift build
macos:
runs-on: macos-14
name: macOS
env:
UNIDOC_ENABLE_INDEXSTORE: "0"
DEVELOPER_DIR: "/Applications/Xcode_15.3.app/Contents/Developer"

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build debug
run: |
swift --version
swift build
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This workflow builds the project for production, with IndexStoreDB integration enabled.

name: ci

on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if canImport(IndexStoreDB)

import MarkdownABI
import Symbols

Expand All @@ -20,3 +22,5 @@ extension Main.SnippetHighlightingTest
}
}
}

#endif
1 change: 1 addition & 0 deletions Sources/SymbolGraphBuilderTests/Main.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import BSON
import HTML
import MarkdownPluginSwift
import MarkdownRendering
@_spi(testable)
import SymbolGraphBuilder
import SymbolGraphs
Expand Down

0 comments on commit 818d610

Please sign in to comment.