Skip to content

Commit ae321d2

Browse files
authored
[CI] Adopt GitHub actions (#280)
1 parent 21f7878 commit ae321d2

File tree

200 files changed

+453
-912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+453
-912
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ about: If something isn't working as expected
99
### New Issue Checklist
1010

1111
- [ ] I'm using the latest version of Swift Crypto (`main` branch)
12-
- [ ] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/master/CONTRIBUTING.md)
12+
- [ ] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/main/CONTRIBUTING.md)
1313
- [ ] I searched for [existing GitHub issues](https://github.com/apple/swift-crypto/issues)
1414

1515
### Expected behavior

.github/ISSUE_TEMPLATE/QUESTION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ about: Not sure how something works or how to implement some functionality? Ask
66

77
### Question Checklist
88

9-
- [ ] I'm using the latest version of Swift Crypto (master branch)
10-
- [ ] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/master/CONTRIBUTING.md)
9+
- [ ] I'm using the latest version of Swift Crypto (main branch)
10+
- [ ] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/main/CONTRIBUTING.md)
1111
- [ ] I searched for [existing GitHub issues](https://github.com/apple/swift-crypto/issues)
1212

1313
### Question Subject

.github/ISSUE_TEMPLATE/REGRESSION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ about: If a recent release broke a feature (Please make sure you know the last k
88

99
### New Regression Checklist
1010

11-
- [ ] I'm using the latest version of Swift Crypto (master branch)
12-
- [ ] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/master/CONTRIBUTING.md)
11+
- [ ] I'm using the latest version of Swift Crypto (main branch)
12+
- [ ] I read the [Contribution Guidelines](https://github.com/apple/swift-crypto/blob/main/CONTRIBUTING.md)
1313
- [ ] I searched for [existing GitHub issues](https://github.com/apple/swift-crypto/issues)
1414

1515
### Regression Information

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
unit-tests:
9+
name: Unit tests
10+
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
11+
with:
12+
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
13+
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
14+
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
15+
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
16+
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
17+
18+
cxx-interop:
19+
name: Cxx interop
20+
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main

.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: PR
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: "SwiftCrypto"
13+
format_check_enabled: false
14+
15+
cmake-lists:
16+
name: Check cmake lists
17+
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main
18+
with:
19+
name: "Check cmake lists"
20+
matrix_linux_command: ./scripts/check-cmake-lists.sh
21+
22+
unit-tests:
23+
name: Unit tests
24+
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
25+
with:
26+
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
27+
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
28+
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
29+
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
30+
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
31+
32+
cxx-interop:
33+
name: Cxx interop
34+
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR label
2+
3+
on:
4+
pull_request:
5+
types: [labeled, unlabeled, opened, reopened, synchronize]
6+
7+
jobs:
8+
semver-label-check:
9+
name: Semantic Version label check
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 1
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
17+
- name: Check for Semantic Version label
18+
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main

.github/workflows/scheduled.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Scheduled
2+
3+
on:
4+
schedule:
5+
- cron: "0 8,20 * * *"
6+
7+
jobs:
8+
unit-tests:
9+
name: Unit tests
10+
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
11+
with:
12+
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
13+
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
14+
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
15+
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
16+
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
17+
18+
cxx-interop:
19+
name: Cxx interop
20+
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main

.licenseignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.gitignore
2+
**/.gitignore
3+
.licenseignore
4+
.unacceptablelanguageignore
5+
.gitattributes
6+
.git-blame-ignore-revs
7+
.mailfilter
8+
.mailmap
9+
.spi.yml
10+
.swift-format
11+
.editorconfig
12+
.github/*
13+
*.md
14+
*.txt
15+
*.yml
16+
*.yaml
17+
*.json
18+
Package.swift
19+
**/Package.swift
20+
Package@-*.swift
21+
**/Package@-*.swift
22+
Package.resolved
23+
**/Package.resolved
24+
Makefile
25+
*.modulemap
26+
**/*.modulemap
27+
**/*.docc/*
28+
*.xcprivacy
29+
**/*.xcprivacy
30+
*.symlink
31+
**/*.symlink
32+
Dockerfile
33+
**/Dockerfile
34+
Snippets/*
35+
dev/git.commit.template
36+
dev/update-benchmark-thresholds
37+
*.crt
38+
**/*.crt
39+
*.pem
40+
**/*.pem
41+
*.der
42+
**/*.der
43+
.swiftformat
44+
Sources/CCryptoBoringSSL/*
45+
**/*.swift.gyb
46+
scripts/*.patch
47+
scripts/gyb
48+
scripts/gyb.py

.unacceptablelanguageignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sources/CCryptoBoringSSL/*

.xcodesamplecode.plist

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)