Skip to content

Commit

Permalink
github/workflows: install golang
Browse files Browse the repository at this point in the history
as it is needed for `get-deps` and to run `yq`

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
  • Loading branch information
christoph-zededa committed Jul 10, 2024
1 parent fa2d0c0 commit 140b2cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
EVE=lfedge/eve:${TAG}-${HV}-${{ env.ARCH }}
docker pull "$EVE"
else
sudo apt-get update
sudo apt-get install golang
make pkgs
make HV=${HV} ZARCH=${{ env.ARCH }} eve
EVE=lfedge/eve:$(make version)-${HV}-${{ env.ARCH }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
if: ${{ matrix.os == 'buildjet-4vcpu-ubuntu-2204-arm' || matrix.os == 'arm64-secure' }}
run: |
sudo apt install -y zstd
- name: install build dependencies
run: |
APT_INSTALL="sudo apt-get install -y golang"
# the following weird statement is here to speed up the happy path
# if the default server is responding -- we can skip apt update
$APT_INSTALL || { sudo apt update && $APT_INSTALL ; }
- name: ensure packages for cross-arch build
if: ${{ matrix.arch == 'riscv64' }}
run: |
Expand Down

0 comments on commit 140b2cd

Please sign in to comment.