Skip to content

Commit

Permalink
Include go vendor modules for boringssl
Browse files Browse the repository at this point in the history
Required for services that do not allow network access to the outside during compilation (e.g. open build service etc.).
When compiling, at least an 'export GOFLAGS="-mod=vendor"' must be done before.
  • Loading branch information
munix9 authored and Biswa96 committed Sep 4, 2023
1 parent 48f85eb commit 1e417cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- name: get vendor modules
run: |
cd vendor/boringssl
go mod vendor
- name: build & install
run: |
mkdir build && cd build
Expand Down Expand Up @@ -123,6 +127,7 @@ jobs:

- name: build & install
run: |
export GOFLAGS="-mod=vendor"
tar -xf android-tools-*.tar.xz
cd android-tools-*/
test -n "${{ matrix.env1 }}" && export ${{ matrix.env1 }}
Expand Down

0 comments on commit 1e417cc

Please sign in to comment.