Skip to content

Commit 8bd4872

Browse files
committed
ci
1 parent ccdbada commit 8bd4872

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: LaunchDarkly.ServerSdk.Ai CI
2+
on:
3+
push:
4+
branches: [main, 'feat/**']
5+
paths-ignore:
6+
- '**.md' # Do not need to run CI for markdown changes.
7+
pull_request:
8+
branches: [main, 'feat/**']
9+
paths-ignore:
10+
- '**.md'
11+
12+
jobs:
13+
build-and-test:
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest, macos-latest]
17+
fail-fast: false
18+
runs-on: ${{ matrix.os }}
19+
permissions:
20+
id-token: write
21+
contents: read
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Setup Env from project's Env file
26+
shell: bash
27+
run: echo "$(cat pkgs/sdk/server-ai/github_actions.env)" >> $GITHUB_ENV
28+
29+
- uses: launchdarkly/gh-actions/actions/[email protected]
30+
name: Get secrets
31+
with:
32+
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
33+
34+
- uses: ./.github/actions/ci
35+
with:
36+
project_file: ${{ env.PROJECT_FILE}}
37+
38+
- uses: ./.github/actions/build-docs
39+
with:
40+
workspace_path: ${{ env.WORKSPACE_PATH}}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
WORKSPACE_PATH=pkgs/ai
2-
PROJECT_FILE=pkgs/ai/src/LaunchDarkly.ServerSdk.csproj
3-
BUILD_OUTPUT_PATH=pkgs/ai/src/bin/Release/
1+
WORKSPACE_PATH=pkgs/sdk/server-ai
2+
PROJECT_FILE=pkgs/sdk/server-ai/src/LaunchDarkly.ServerSdk.csproj
3+
BUILD_OUTPUT_PATH=pkgs/sdk/server-ai/src/bin/Release/
44
BUILD_OUTPUT_DLL_NAME=LaunchDarkly.ServerSdk.Ai.dll
5-
TEST_PROJECT_FILE=pkgs/ai/test/LaunchDarkly.ServerSdk.Ai.Tests.csproj
5+
TEST_PROJECT_FILE=pkgs/sdk/server-ai/test/LaunchDarkly.ServerSdk.Ai.Tests.csproj

0 commit comments

Comments
 (0)