File tree 3 files changed +19
-12
lines changed
3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,14 @@ jobs:
15
15
- uses : actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6
16
16
- name : install
17
17
run : |
18
- python3 -m venv ~/venv
19
- source ~/venv/bin/activate
20
- sudo python3 -m pip install --upgrade pip
21
- sudo python3 -m pip install scikit-build
22
- sudo python3 -m pip install cmake==3.25 requests gitpython gcovr
18
+ python3 -m pip install --upgrade pip
19
+ python3 -m pip install scikit-build
20
+ python3 -m pip install cmake==3.25 requests gitpython gcovr
23
21
brew install ninja
24
22
- name : cmake
25
23
env :
26
24
CURL_SSL_BACKEND : SecureTransport
27
- run : |
28
- source ~/venv/bin/activate
29
- cmake -G Ninja -B build .
25
+ run : cmake -G Ninja -B build .
30
26
- name : build
31
27
run : cmake --build build -- -j4
32
28
- name : test
@@ -47,15 +43,15 @@ jobs:
47
43
" cxx " : " clang++"
48
44
}]
49
45
steps :
46
+ - name : venv
47
+ run : ./housekeeping/github_venv.sh
50
48
- uses : actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6
51
49
- name : cmake
52
50
env :
53
51
CC : ${{ matrix.compiler.cc }}
54
52
CXX : ${{ matrix.compiler.cxx }}
55
53
shell : bash
56
- run : |
57
- source /venv/bin/activate
58
- cmake -B build .
54
+ run : cmake -B build .
59
55
- name : build
60
56
run : cmake --build build -- -j4
61
57
- name : test
Original file line number Diff line number Diff line change 25
25
shell : bash
26
26
run : |
27
27
source /venv/bin/activate
28
- cmake -G Ninja - B $BUILD_DIR .
28
+ cmake -B $BUILD_DIR .
29
29
cmake --build $BUILD_DIR --target generated
30
30
./housekeeping/clang-tidy-diff.sh
31
31
Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright Quadrivium LLC
3
+ # All Rights Reserved
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
6
+
7
+ GITHUB_ENV=" ${GITHUB_ENV:? } "
8
+ export VIRTUAL_ENV=" ${1:? venv path not set} "
9
+ export PATH=" $VIRTUAL_ENV /bin:$PATH "
10
+ echo " VIRTUAL_ENV=$VIRTUAL_ENV " >> " $GITHUB_ENV "
11
+ echo " PATH=$PATH " >> " $GITHUB_ENV "
You can’t perform that action at this time.
0 commit comments