Add liboxide-dev package with headers and pkg-conf file #1414
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
name: Build oxide | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/build.yml' | |
- 'applications/**' | |
- 'shared/**' | |
- 'assets/**' | |
- 'interfaces/**' | |
- 'qmake/**' | |
- 'oxide.pro' | |
- 'Makefile' | |
- 'package' | |
pull_request: | |
paths: | |
- '.github/workflows/build.yml' | |
- 'applications/**' | |
- 'shared/**' | |
- 'assets/**' | |
- 'interfaces/**' | |
- 'qmake/**' | |
- 'oxide.pro' | |
- 'Makefile' | |
- 'package' | |
jobs: | |
build: | |
name: Build and package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install toltecmk | |
run: pip install toltecmk requests==2.26.0 | |
- name: Build packages | |
run: make package | |
timeout-minutes: 15 | |
- name: Save packages | |
uses: actions/upload-artifact@v3 | |
with: | |
name: packages | |
path: release | |
- name: Save packages | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: .build/package/dist | |
release: | |
needs: build | |
if: ${{ github.ref == 'refs/heads/master' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: build | |
path: .build | |
- name: Create Sentry release | |
uses: getsentry/action-release@v1 | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
SENTRY_URL: https://sentry.eeems.codes | |
- name: Setup Sentry CLI | |
uses: mathieu-bour/setup-sentry-cli@v1 | |
with: | |
version: latest | |
url: https://sentry.eeems.codes | |
token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
organization: ${{ secrets.SENTRY_ORG }} | |
project: ${{ secrets.SENTRY_PROJECT }} | |
- name: Upload debug artifacts | |
run: sentry-cli debug-files upload --include-sources . |