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
42 changed files
with
2,534 additions
and
1,529 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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: fedora:latest | ||
image: fedora:40 | ||
|
||
steps: | ||
- name: Install Git | ||
|
@@ -38,5 +38,5 @@ jobs: | |
- name: Fedora-40 | ||
uses: actions/[email protected] | ||
with: | ||
name: umu-launcher-rpm | ||
name: umu-launcher-rpm-40 | ||
path: ~/rpmbuild/RPMS/noarch/*.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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: UMU RPM Build - Fedora/Nobara | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: fedora:41 | ||
|
||
steps: | ||
- name: Install Git | ||
run: dnf install -y git | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure Git safe directory | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
|
||
- name: Install build dependencies | ||
run: dnf install -y rpm-build meson ninja-build cmake g++ gcc-c++ scdoc git python3-devel python3-build python3-installer python3-hatchling python python3 | ||
|
||
- name: Build the project | ||
run: | | ||
./configure.sh --prefix=/usr | ||
make | ||
mkdir -p ~/rpmbuild/SOURCES | ||
cp -r . ~/rpmbuild/SOURCES/umu-launcher | ||
rpmbuild -ba packaging/rpm/umu-launcher.spec | ||
- name: Fedora-41 | ||
uses: actions/[email protected] | ||
with: | ||
name: umu-launcher-rpm-41 | ||
path: ~/rpmbuild/RPMS/noarch/*.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
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 |
---|---|---|
|
@@ -35,10 +35,12 @@ jobs: | |
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 .. | ||
# To preserve file mode bits and link file, use a tar archive. | ||
# See https://github.com/actions/upload-artifact?tab=readme-ov-file#permission-loss | ||
run: cd results && ln -s umu-run umu_run.py && tar cvf Zipapp.tar umu-run umu_run.py | ||
|
||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Zipapp | ||
path: results/ | ||
path: results/Zipapp.tar |
This file was deleted.
Oops, something went wrong.
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.