-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54f1230
commit 4778998
Showing
4 changed files
with
164 additions
and
0 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,30 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: docker | ||
directory: '/.docker/' | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- 'type: dependencies' | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- 'type: dependencies' | ||
- package-ecosystem: 'gitsubmodule' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- 'type: dependencies' | ||
- package-ecosystem: 'cargo' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- 'type: dependencies' |
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,41 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
template: | | ||
# What's Changed | ||
$CHANGES | ||
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION | ||
categories: | ||
- title: '⚠ Breaking Changes' | ||
label: 'type: breaking' | ||
- title: '🚀New Features' | ||
label: 'type: feature' | ||
- title: '🐜 Bug Fixes' | ||
label: 'type: bug' | ||
- title: '🧰 Maintenance' | ||
label: 'type: maintenance' | ||
- title: '📖 Documentation' | ||
label: 'type: docs' | ||
- title: 'Other changes' | ||
- title: '⬆ Version Upgrades' | ||
label: 'type: dependencies' | ||
collapse-after: 10 | ||
|
||
version-resolver: | ||
major: | ||
labels: | ||
- 'type: breaking' | ||
minor: | ||
labels: | ||
- 'type: feature' | ||
patch: | ||
labels: | ||
- 'type: bug' | ||
- 'type: maintenance' | ||
- 'type: docs' | ||
- 'type: dependencies' | ||
- 'type: security' | ||
|
||
exclude-labels: | ||
- 'skip-changelog' |
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,15 @@ | ||
name: Create a release draft | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: release-drafter/release-drafter@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,78 @@ | ||
name: CI for .docker/pulseaudio | ||
|
||
on: | ||
pull_request: | ||
schedule: | ||
- cron: 0 0 * * * # At the end of everyday | ||
push: | ||
branches: [main] | ||
tags: | ||
- v*.*.* | ||
release: | ||
types: [published] | ||
|
||
# Cancel previous runs of the same workflow on the same branch. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-warp: | ||
# defaults: | ||
# run: | ||
# working-directory: moq-server | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
settings: | ||
- host: ubuntu-20.04 | ||
target: x86_64-unknown-linux-gnu | ||
bundles: appimage | ||
asset_name: warp-ubuntu-amd64 | ||
|
||
name: Warp for ${{ matrix.settings.target }} | ||
runs-on: ${{ matrix.settings.host }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Rust | ||
id: toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: ${{ matrix.settings.target }} | ||
toolchain: stable | ||
components: clippy, rustfmt | ||
|
||
- name: Cache Rust Dependencies | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
save-if: false | ||
prefix-key: 'v0-rust-deps' | ||
shared-key: ${{ matrix.settings.target }} | ||
|
||
- name: Build | ||
run: cargo build --target ${{ matrix.settings.target }} --manifest-path ./moq-pub/Cargo.toml --release | ||
|
||
- name: Copy and rename artifacts (Linux) | ||
if: ${{ matrix.settings.host == 'ubuntu-20.04' }} | ||
run: | | ||
cp target/${{ matrix.settings.target }}/release/moq-pub ./warp | ||
- name: Publish artifacts (${{ matrix.settings.host }}) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.settings.asset_name }} | ||
path: ./moq-server/warp | ||
if-no-files-found: error | ||
retention-days: 5 | ||
|
||
- name: Publish release for (${{ matrix.settings.host }}) | ||
uses: svenstaro/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ./moq-server/warp | ||
asset_name: ${{ matrix.settings.asset_name }} | ||
tag: ${{ github.ref }} |