-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maximize build space and install buildstream
- Loading branch information
Showing
2 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Setup BuildStream job | ||
description: Maximize build space and install BuildStream | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: easimon/maximize-build-space@v10 | ||
with: | ||
remove-dotnet: true | ||
remove-android: true | ||
remove-haskell: true | ||
remove-codeql: true | ||
remove-docker-images: true | ||
|
||
- name: Install BuildStream | ||
run: | | ||
mkdir ~/.local/bin | ||
wget https://gitlab.com/BuildGrid/buildbox/buildbox-integration/-/releases/1.1.0/downloads/buildbox-x86_64-linux-gnu.tgz | ||
tar -xvzf buildbox-x86_64-linux-gnu.tgz -C ~/.local/bin | ||
rm -rf buildbox-x86_64-linux-gnu.tgz | ||
sudo apt-get install bubblewrap fuse3 git lzip patch python3 | ||
sudo apt-get install g++ python3-dev python3-pip | ||
sudo apt-get install python3-{arpy,dulwich,requests,tomli} | ||
pip3 install --user BuildStream==2.1.0 | ||
- name: Write BuildStream config | ||
run: | | ||
mkdir -p ~/.config | ||
cat >> ~/.config/buildstream2.conf << EOF | ||
sourcedir: ${GITHUB_WORKSPACE}/.bst/sources | ||
cachedir: ${GITHUB_WORKSPACE}/.bst | ||
logdir: ${GITHUB_WORKSPACE}/.bst/logs | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters