Add a Freedesktop SDK based image #16
Workflow file for this run
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
on: | |
pull_request: | |
paths: | |
- '.github/workflows/bst-build-test.yml' | |
- 'buildstream/**' | |
branches: | |
- master | |
push: | |
paths: | |
- '.github/workflows/bst-build-test.yml' | |
- 'buildstream/**' | |
branches-ignore: | |
- master | |
name: BuildStream Build Test | |
jobs: | |
buildstream: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup BuildStream job | |
uses: ./.github/actions/setup-builstream-job | |
- uses: actions/checkout@v4 | |
- 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 | |
- name: Build Image | |
working-directory: ./buildstream | |
run: | | |
bst --on-error continue build oci/tooling-ghcr-flatpak.bst |