-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
866b1be
commit 209d52d
Showing
2 changed files
with
4 additions
and
39 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 |
---|---|---|
|
@@ -95,43 +95,6 @@ jobs: | |
name: "${{ env.GITHUB_REPOSITORY_NAME }}-${{ env.GITHUB_REF_NAME }}-1.x86_64.rpm" | ||
path: "~/rpmbuild/RPMS/x86_64/${{ env.GITHUB_REPOSITORY_NAME }}-${{ env.GITHUB_REF_NAME }}-1.x86_64.rpm" | ||
|
||
# rpm-package: | ||
# runs-on: ubuntu-20.04 | ||
# container: | ||
# image: fedora:32 | ||
# steps: | ||
# - name: Install dependencies | ||
# run: | | ||
# su | ||
# dnf groupinstall -y "Development Tools" | ||
# dnf install -y gcc gcc-c++ cmake rpm-build libudev-devel libinput-devel pugixml-devel cairo-devel libX11-devel libXtst-devel libXrandr-devel libXi-devel glib2-devel gtk3-devel | ||
|
||
# - name: GitHub Environment Variables Action | ||
# uses: FranzDiebold/[email protected] | ||
|
||
# - name: Checkout code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# path: ${{ env.GITHUB_REPOSITORY_NAME }} | ||
|
||
# - name: Create rpmbuild directories | ||
# run: | | ||
# mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} | ||
|
||
# - name: Generate tarball | ||
# run: | | ||
# tar -czvf ~/rpmbuild/SOURCES/${{ env.GITHUB_REPOSITORY_NAME }}.tar.gz ${{ env.GITHUB_REPOSITORY_NAME }} | ||
|
||
# - name: Build RPM package | ||
# run: | | ||
# rpmbuild -ba ${{ env.GITHUB_REPOSITORY_NAME }}/rpm/${{ env.GITHUB_REPOSITORY_NAME }}.spec | ||
|
||
# - name: Upload RPM package | ||
# uses: "actions/upload-artifact@v2" | ||
# with: | ||
# name: "${{ env.GITHUB_REPOSITORY_NAME }}-${{ env.GITHUB_REF_NAME }}-1.x86_64.rpm" | ||
# path: "~/rpmbuild/RPMS/x86_64/${{ env.GITHUB_REPOSITORY_NAME }}-${{ env.GITHUB_REF_NAME }}-1.x86_64.rpm" | ||
|
||
create-release: | ||
runs-on: ubuntu-20.04 | ||
needs: [ deb-package, rpm-package ] | ||
|
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