1 |
commit: d6f203d4f250a4d2f0eabf4370971ad070ea92a9 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 6 15:15:06 2022 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 6 15:15:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=d6f203d4 |
7 |
|
8 |
.github: another attempt at actions |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
.github/workflows/build-test-ci.yml | 15 +++++++++++++-- |
13 |
1 file changed, 13 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml |
16 |
index 7f3a262..fd445bd 100644 |
17 |
--- a/.github/workflows/build-test-ci.yml |
18 |
+++ b/.github/workflows/build-test-ci.yml |
19 |
@@ -57,10 +57,21 @@ jobs: |
20 |
runs-on: ${{ matrix.os }} |
21 |
env: |
22 |
CC: ${{ matrix.cc }} |
23 |
- PATH: "$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH" |
24 |
steps: |
25 |
- name: install deps |
26 |
- run: brew install gpgme gnupg gnu-sed coreutils bash openssl |
27 |
+ run: brew install gpgme gnupg gnu-sed coreutils bash openssl b2sum |
28 |
+ - name: add homebrew utils to PATH |
29 |
+ run: | |
30 |
+ echo "$(brew --prefix)/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH |
31 |
+ echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH |
32 |
+ echo "$(brew --prefix)/opt/openssl@3/bin" >> $GITHUB_PATH |
33 |
+ - name: add homebrew utils to ENV |
34 |
+ run: | |
35 |
+ echo 'LDFLAGS="-L'"$(brew --prefix)/opt/openssl@3/lib ${LDFLAGS}"'"' >> $GITHUB_ENV |
36 |
+ echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/openssl@3/include ${CPPFLAGS}"'"' >> $GITHUB_ENV |
37 |
+ echo 'PKG_CONFIG_PATH="'"$(brew --prefix)/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"'"' >> $GITHUB_ENV |
38 |
+ echo 'LDFLAGS="-L'"$(brew --prefix)/opt/b2sum/lib ${LDFLAGS}"'"' >> $GITHUB_ENV |
39 |
+ echo 'CPPFLAGS="-I'"$(brew --prefix)/opt/b2sum/include ${CPPFLAGS}"'"' >> $GITHUB_ENV |
40 |
- uses: actions/checkout@v2 |
41 |
- name: configure |
42 |
run: ./configure --disable-maintainer-mode --disable-openmp |