forked from Open-Wine-Components/umu-launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Open-Wine-Components:main' into main
- Loading branch information
Showing
13 changed files
with
563 additions
and
161 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 |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
|
@@ -15,7 +17,7 @@ jobs: | |
options: --privileged -it | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Copy debian packaging folder to the repository root | ||
run: cp -rvf ./packaging/deb/debian ./debian | ||
|
@@ -41,5 +43,5 @@ jobs: | |
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Binary DEB files | ||
name: Debian-12 | ||
path: results/ |
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 |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
|
@@ -17,7 +19,7 @@ jobs: | |
run: dnf install -y git | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure Git safe directory | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
|
@@ -33,7 +35,7 @@ jobs: | |
cp -r . ~/rpmbuild/SOURCES/umu-launcher | ||
rpmbuild -ba packaging/rpm/umu-launcher.spec | ||
- name: Upload RPM | ||
- name: Fedora-40 | ||
uses: actions/[email protected] | ||
with: | ||
name: umu-launcher-rpm | ||
|
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 |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
|
@@ -15,7 +17,7 @@ jobs: | |
options: --privileged -it | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Copy debian packaging folder to the repository root | ||
run: cp -rvf ./packaging/deb/ubuntu ./debian | ||
|
@@ -41,5 +43,5 @@ jobs: | |
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Binary DEB files | ||
name: Ubuntu-24 | ||
path: results/ |
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,44 @@ | ||
name: UMU Zipapp Build | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: debian:bookworm | ||
volumes: | ||
- /proc:/proc | ||
options: --privileged -it | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Update APT Cache | ||
run: apt update -y | ||
|
||
- name: Install build dependencies | ||
run: apt install -y python3-venv python3-all bash make scdoc python3-hatchling python3-installer python3-build | ||
|
||
- name: Configure | ||
run: ./configure.sh --user-install | ||
|
||
- name: Build | ||
run: make all | ||
|
||
- name: Move DEB files to upload artifact path | ||
run: mkdir -p results && cp -rvf builddir/umu-run results/ | ||
|
||
- name: Create symlink for launchers | ||
run: cd results && ln -s umu-run umu_run.py && cd .. | ||
|
||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Zipapp | ||
path: results/ |
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,83 @@ | ||
name: Create Release | ||
|
||
on: | ||
release: | ||
types: [published] # Trigger when a new release is published | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download Debian 12 Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: Debian-12 | ||
|
||
- name: Download Ubuntu 24 Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: Ubuntu-24 | ||
|
||
- name: Download Fedora RPM Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: umu-launcher-rpm | ||
|
||
- name: Download Zipapp Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: Zipapp | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.event.release.tag_name }} | ||
release_name: ${{ github.event.release.name }} | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Debian 12 Artifact to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: results/*.deb | ||
asset_name: Debian-12.deb | ||
asset_content_type: application/octet-stream | ||
|
||
- name: Upload Ubuntu 24 Artifact to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: results/*.deb | ||
asset_name: Ubuntu-24.deb | ||
asset_content_type: application/octet-stream | ||
|
||
- name: Upload Fedora RPM Artifact to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ~/rpmbuild/RPMS/noarch/*.rpm | ||
asset_name: umu-launcher-rpm.rpm | ||
asset_content_type: application/octet-stream | ||
|
||
- name: Upload Zipapp Artifact to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: results/umu-run | ||
asset_name: umu-run.zip | ||
asset_content_type: application/octet-stream |
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
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
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
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
Oops, something went wrong.