Skip to content

Commit 56f610e

Browse files
committed
[CI] GitHub Actions support
1 parent d8e7670 commit 56f610e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Pull request
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
jobs:
8+
soundness:
9+
name: Soundness
10+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
11+
with:
12+
license_header_check_project_name: "VS Code Swift"
13+
api_breakage_check_enabled: false
14+
docs_check_enabled: false
15+
format_check_enabled: false
16+
17+
tests:
18+
name: Test
19+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
20+
with:
21+
linux_env_vars: |
22+
NODE_VERSION=v18.19.0
23+
NODE_PATH=/usr/local/nvm/versions/node/v18.19.0/bin
24+
NVM_DIR=/usr/local/nvm
25+
CI=1
26+
FAST_TEST_RUN=1
27+
linux_pre_build_command: |
28+
apt-get update && apt-get install -y rsync curl gpg libasound2 libgbm1 libgtk-3-0 libnss3 xvfb build-essential
29+
mkdir -p $NVM_DIR
30+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
31+
/bin/bash -c "source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION"
32+
echo "$NODE_PATH" >> $GITHUB_PATH
33+
linux_build_command: ./docker/test.sh
34+
enable_windows_checks: false

0 commit comments

Comments
 (0)