Skip to content

add logic to renderer for adding target=_blank to exported links #203

add logic to renderer for adding target=_blank to exported links

add logic to renderer for adding target=_blank to exported links #203

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux:
runs-on: ubuntu-22.04
name: Amazon Linux 2023
strategy:
matrix:
image:
- tayloraswift/5.10.0-amazonlinux2023:latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up mock deployments
run: |
docker compose -f Guides/docs.docc/local/docker-compose.yml up -d
- name: Initialize replica set
run: |
timeout 60s bash -c \
'until docker exec -t unidoc-mongod-container \
/bin/mongosh --file /unidoc-rs-init.js; do sleep 1; done'
- name: Run pipeline
run: |
docker run -t --rm \
--network=unidoc-test \
--name swift-environment \
--user root \
-v $PWD:/swift/swift-unidoc \
-w /swift/swift-unidoc \
${{ matrix.image }} \
/bin/bash .github/pipeline
macos:
runs-on: macos-14
name: macOS
env:
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
- name: Build release
run: |
swift build -c release
- name: Test SymbolGraphBuilder
run: |
swift run -c release SymbolGraphBuilderTests