Skip to content

Commit eac098b

Browse files
committed
update CI images
1 parent 5eac5d0 commit eac098b

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ version: 2.0
33
jobs:
44
build:
55
docker:
6-
- image: circleci/python:2.7-stretch
6+
- image: cimg/python:3.10
77
environment:
88
CPPUTEST_HOME: cpputest-4.0
99
steps:
1010
- checkout
11+
- run: sudo apt-get update && sudo apt-get install libtool
1112
- run: "curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
1213
- run: "testspace config url samples.testspace.com"
13-
- run: "sudo pip install gcovr"
14+
- run: "pip install gcovr"
1415
- run: "wget https://github.com/cpputest/cpputest/releases/download/v4.0/cpputest-4.0.zip"
1516
- run: "unzip cpputest-4.0.zip"
1617
- run: cd $CPPUTEST_HOME/cpputest_build && autoreconf .. -i && ../configure && make && cp -R ./lib ../

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,17 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
env:
1111
CPPUTEST_HOME: cpputest-4.0
1212
steps:
13-
- uses: actions/setup-python@v2
13+
- uses: actions/setup-python@v4
1414
with:
15-
python-version: 2.7
15+
python-version: 3.x
1616
- name: Setup build tools
1717
run: |
1818
sudo pip install gcovr
19-
- uses: actions/checkout@v2
20-
with:
21-
fetch-depth: 50
19+
- uses: actions/checkout@v3
2220
- uses: testspace-com/setup-testspace@v1
2321
with:
2422
domain: samples

0 commit comments

Comments
 (0)