diff options
| author | Your Name <you@example.com> | 2023-12-30 01:34:35 +0000 |
|---|---|---|
| committer | Your Name <you@example.com> | 2023-12-30 02:34:35 +0100 |
| commit | f95d3aac52a101bdf16685d7ac0afe557f2ed68a (patch) | |
| tree | 5dca155435dcac75161cb34084f9427ce6655aeb | |
| parent | 73c2d1b053cf5dbf9a6f1fc912b40bca8db460f3 (diff) | |
| download | SDK-Rebuild-f95d3aac52a101bdf16685d7ac0afe557f2ed68a.tar.gz SDK-Rebuild-f95d3aac52a101bdf16685d7ac0afe557f2ed68a.tar.bz2 SDK-Rebuild-f95d3aac52a101bdf16685d7ac0afe557f2ed68a.zip | |
ci: install repo from google binary
| -rw-r--r-- | .forgejo/workflows/demo.yaml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index ff80651..5d1a3dd 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -3,12 +3,22 @@ jobs: test: runs-on: self-hosted steps: - - run: | + - name: install dependencies + run: | sudo apt update \ - && sudo apt install git repo gnupg flex bison gperf build-essential zip curl \ + && sudo apt install git gnupg flex bison gperf build-essential zip curl \ zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev \ libncurses5 libx11-dev lib32z1-dev libgl1-mesa-dev \ - libxml2-utils xsltproc unzip rsync python3 python-is-python3 tofrodos repo + libxml2-utils xsltproc unzip rsync python3 python-is-python3 tofrodos + - name: install repo + run: | + which repo && exit 0 \ + || export REPO=$(mktemp /tmp/repo.XXXXXXXXX) \ + && curl -o ${REPO} https://storage.googleapis.com/git-repo-downloads/repo \ + && gpg --recv-keys 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65 \ + && curl -s https://storage.googleapis.com/git-repo-downloads/repo.asc \ + | gpg --verify - ${REPO} \ + && install -m 755 ${REPO} ~/bin/repo - run: mkdir -p artifacts - uses: actions/upload-artifact@v3 with: |
