Skip to content

Commit b2a19c3

Browse files
committed
add environment to docker build CD
1 parent ad499b1 commit b2a19c3

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build_container_env.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
docker-build:
11+
environment: docke_deploy
1112
runs-on: ubuntu-latest
1213

1314
steps:

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,22 @@ permissions: write-all
88
jobs:
99
linux-test:
1010
runs-on: ubuntu-latest
11+
container:
12+
image: yanzhaowang/centipede:env
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
compiler: [gcc, clang, libc++]
17+
name: ${{ matrix.compiler }}
1118
steps:
1219
- uses: actions/checkout@v6
1320
with:
1421
fetch-depth: 1
1522
submodules: 'true'
23+
- name: install and env vars
24+
run: |
25+
dnf upgrade -y
26+
dnf install -y conan nodejs hostname
27+
echo "PARENT_DIR=$PWD" >> $GITHUB_ENV
28+
echo "CONAN_HOME=$PWD/.conan2" >> $GITHUB_ENV
29+
echo "GTEST_COLOR=1" >> $GITHUB_ENV

0 commit comments

Comments
 (0)