File tree Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Original file line number Diff line number Diff line change 1
- # Use the latest 2.1 version of CircleCI pipeline process engine.
2
- # See: https://circleci.com/docs/configuration-reference
3
1
version : 2.1
4
2
5
- # Define a job to be invoked later in a workflow.
6
- # See: https://circleci.com/docs/configuration-reference/#jobs
7
- jobs :
8
- say-hello :
9
- # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
10
- # See: https://circleci.com/docs/configuration-reference/#executor-job
3
+ executors :
4
+ build-executor :
11
5
docker :
12
- - image : cimg/base:stable
13
- # Add steps to the job
14
- # See: https://circleci.com/docs/configuration-reference/#steps
6
+ - image : ubuntu:20.04
7
+
8
+ jobs :
9
+ build :
10
+ executor : build-executor
15
11
steps :
16
- - checkout
17
12
- run :
18
- name : " Say hello"
19
- command : " echo Hello, World!"
13
+ name : Install dependencies
14
+ command : |
15
+ apt-get update
16
+ apt-get install -y libpcre3 libpcre3-dev zlib1g-dev libssl-dev
17
+ - run :
18
+ name : Set environment variables
19
+ command : |
20
+ export NGINX_VERSION=1.18.0
21
+ export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
22
+ - run :
23
+ name : Build and test
24
+ command : make prepare-travis-env nginx test
20
25
21
- # Orchestrate jobs using workflows
22
- # See: https://circleci.com/docs/configuration-reference/#workflows
23
26
workflows :
24
- say-hello-workflow :
27
+ version : 2
28
+ build :
25
29
jobs :
26
- - say-hello
30
+ - build
You can’t perform that action at this time.
0 commit comments