-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added auto CI build on OBS (#13)
* feat: Added auto CI build on OBS * Update Auto CI Test Build.yml * Update Auto CI Test Build.yml * Update changelog
- Loading branch information
1 parent
b6b0cab
commit 466dbae
Showing
2 changed files
with
53 additions
and
1 deletion.
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,52 @@ | ||
name: Auto CI Test Build | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
debian: | ||
name: Debian 13 Trixie | ||
runs-on: ubuntu-latest | ||
container: docker.io/library/debian:trixie | ||
steps: | ||
- name: Install Dependencies | ||
run: | | ||
apt-get update | ||
apt-get install -y sudo git | ||
- name: Checkout Source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Init Git Repo | ||
run: | | ||
git config --global --add safe.directory $(realpath .) | ||
- name: Build Debian Src Package | ||
uses: LingmoOS/[email protected] | ||
with: | ||
build-binary: false | ||
build-source: true | ||
output-dir: ./debian-deb-output | ||
source-dir: ./ | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Source DEB Artifacts | ||
path: debian-deb-output | ||
compression-level: 9 # maximum compression | ||
|
||
- name: Upload to OBS | ||
if: ${{ !(github.event_name == 'pull_request') }} | ||
uses: LingmoOS/[email protected] | ||
with: | ||
remove-old-sources: true | ||
obs-package-name: 'liblingmo' | ||
obs-project-name: 'home:elysia:LingmoOS:CI' | ||
obs-user-name: ${{ secrets.OBS_CI_USERNAME }} | ||
obs-password: ${{ secrets.OBS_CI_TOKEN }} | ||
obs-instance-url: 'https://api.opensuse.org' | ||
local-package-dir: './debian-deb-output' |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
liblingmo (2.0.0-1~dev1) UNRELEASED; urgency=high | ||
liblingmo (2.0.1) UNRELEASED; urgency=high | ||
|
||
* Migrated to Qt6 and C++ 17 (Elysia) <[email protected]> | ||
|
||
|