GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Split pr and normal build (#10884) (#601) · netty/netty-tcnative@5a4f60a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci-build.yml
    • ci-deploy.yml
    • ci-pr.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci-build.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-build.yml
+4-6Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Build project
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
86

97
schedule:
108
- cron: '30 3 * * 1' # At 03:30 on Monday, every Monday.
@@ -36,7 +34,7 @@ jobs:
3634
if: ${{ failure() }}
3735
with:
3836
name: target
39-
path: target/ # or path/to/artifact
37+
path: "**/target/"
4038

4139
build-debian7-x86_64:
4240
runs-on: ubuntu-latest
@@ -61,7 +59,7 @@ jobs:
6159
if: ${{ failure() }}
6260
with:
6361
name: target
64-
path: target/ # or path/to/artifact
62+
path: "**/target/"
6563

6664
build-centos7-aarch64:
6765
runs-on: ubuntu-latest
@@ -85,6 +83,6 @@ jobs:
8583
- uses: actions/upload-artifact@v2
8684
if: ${{ failure() }}
8785
with:
88-
name: target_aarch64
89-
path: target/ # or path/to/artifact
86+
name: target
87+
path: "**/target/"
9088

Collapse file

‎.github/workflows/ci-deploy.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-deploy.yml
+1-18Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ jobs:
3939
- name: Deploy project snapshot to sonatype
4040
run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml run deploy
4141

42-
- uses: actions/upload-artifact@v2
43-
if: ${{ failure() }}
44-
with:
45-
name: target
46-
path: target/ # or path/to/artifact
47-
4842
deploy-debian7-x86_64:
4943
runs-on: ubuntu-latest
5044
steps:
@@ -74,11 +68,6 @@ jobs:
7468
- name: Deploy project snapshot to sonatype
7569
run: docker-compose -f docker/docker-compose.debian.yaml -f docker/docker-compose.debian-7.18.yaml run deploy-dynamic-only
7670

77-
- uses: actions/upload-artifact@v2
78-
if: ${{ failure() }}
79-
with:
80-
name: target
81-
path: target/ # or path/to/artifact
8271

8372
deploy-centos7-aarch64:
8473
runs-on: ubuntu-latest
@@ -106,10 +95,4 @@ jobs:
10695
run: docker-compose -f docker/docker-compose.centos-7.yaml build
10796

10897
- name: Deploy project snapshot to sonatype
109-
run: docker-compose -f docker/docker-compose.centos-7.yaml run cross-compile-aarch64-deploy
110-
111-
- uses: actions/upload-artifact@v2
112-
if: ${{ failure() }}
113-
with:
114-
name: target_aarch64
115-
path: target/ # or path/to/artifact
98+
run: docker-compose -f docker/docker-compose.centos-7.yaml run cross-compile-aarch64-deploy
Collapse file

‎.github/workflows/ci-pr.yml‎

Copy file name to clipboard
+85Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: Build PR
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-centos6-x86_64:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
# Enable caching of Docker layers
17+
- uses: satackey/[email protected]
18+
continue-on-error: true
19+
with:
20+
key: pr-centos6-x86_64-docker-cache-{hash}
21+
restore-keys: |
22+
pr-centos6-x86_64-docker-cache-
23+
24+
- name: Build docker image
25+
run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml build
26+
27+
- name: Build project
28+
run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml run build
29+
30+
- uses: actions/upload-artifact@v2
31+
if: ${{ failure() }}
32+
with:
33+
name: target
34+
path: "**/target/"
35+
36+
build-debian7-x86_64:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v2
40+
41+
# Enable caching of Docker layers
42+
- uses: satackey/[email protected]
43+
continue-on-error: true
44+
with:
45+
key: pr-debian7-x86_64-docker-cache-{hash}
46+
restore-keys: |
47+
pr-debian7-x86_64-docker-cache-
48+
49+
- name: Build docker image
50+
run: docker-compose -f docker/docker-compose.debian.yaml -f docker/docker-compose.debian-7.18.yaml build
51+
52+
- name: Build project
53+
run: docker-compose -f docker/docker-compose.debian.yaml -f docker/docker-compose.debian-7.18.yaml run build-dynamic-only
54+
55+
- uses: actions/upload-artifact@v2
56+
if: ${{ failure() }}
57+
with:
58+
name: target
59+
path: "**/target/"
60+
61+
build-centos7-aarch64:
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/checkout@v2
65+
66+
# Enable caching of Docker layers
67+
- uses: satackey/[email protected]
68+
continue-on-error: true
69+
with:
70+
key: pr-centos7-aarch64-docker-cache-{hash}
71+
restore-keys: |
72+
pr-centos7-aarch64-docker-cache-
73+
74+
- name: Build docker image
75+
run: docker-compose -f docker/docker-compose.centos-7.yaml build
76+
77+
- name: Build project
78+
run: docker-compose -f docker/docker-compose.centos-7.yaml run cross-compile-aarch64-build
79+
80+
- uses: actions/upload-artifact@v2
81+
if: ${{ failure() }}
82+
with:
83+
name: target
84+
path: "**/target/"
85+

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.