-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
format yaml, add cryptsetup to test flow
- Loading branch information
1 parent
4b504db
commit e8664d3
Showing
2 changed files
with
32 additions
and
32 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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
on: | ||
push: | ||
pull_request: | ||
push: | ||
pull_request: | ||
|
||
name: Build RPM snapshot package | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/terrapkg/builder:f41 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/terrapkg/builder:f41 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
dnf4 up -y | ||
dnf4 -y install dnf-plugins-core | ||
# builddep is broken with dnf5 for some reason | ||
dnf4 builddep -y ci/readymade.spec | ||
dnf4 in -y rpmdevtools git rpm-build | ||
- name: Install dependencies | ||
run: | | ||
dnf4 up -y | ||
dnf4 -y install dnf-plugins-core | ||
# builddep is broken with dnf5 for some reason | ||
dnf4 builddep -y ci/readymade.spec | ||
dnf4 in -y rpmdevtools git rpm-build | ||
- name: run rpmbuild | ||
run: | | ||
git_sha=${{ github.sha }} | ||
git_short=${git_sha:0:7} | ||
rpmdev-setuptree | ||
rpmbuild -ba ci/readymade.spec --define "gitcommit $git_sha" --define "shortcommit $git_short" --define "_rpmdir $PWD/build" --define "_disable_source_fetch 0" | ||
- name: run rpmbuild | ||
run: | | ||
git_sha=${{ github.sha }} | ||
git_short=${git_sha:0:7} | ||
rpmdev-setuptree | ||
rpmbuild -ba ci/readymade.spec --define "gitcommit $git_sha" --define "shortcommit $git_short" --define "_rpmdir $PWD/build" --define "_disable_source_fetch 0" | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: build/**/*.rpm | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: build/**/*.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: Rust | ||
|
||
on: | ||
push: | ||
pull_request: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
rust: | ||
uses: FyraLabs/actions/.github/workflows/rust.yml@main | ||
with: | ||
test-container: '{"image": "ghcr.io/terrapkg/builder:f41"}' | ||
test-pre: dnf install -y libhelium-devel 'pkgconfig(gnome-desktop-4)' clang-devel gcc mold cmake | ||
rust: | ||
uses: FyraLabs/actions/.github/workflows/rust.yml@main | ||
with: | ||
test-container: '{"image": "ghcr.io/terrapkg/builder:f41"}' | ||
test-pre: dnf install -y libhelium-devel 'pkgconfig(gnome-desktop-4)' clang-devel gcc mold cmake cryptsetup |