File tree 2 files changed +32
-32
lines changed
2 files changed +32
-32
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
- push :
3
- pull_request :
2
+ push :
3
+ pull_request :
4
4
5
5
name : Build RPM snapshot package
6
6
7
7
jobs :
8
- build :
9
- runs-on : ubuntu-latest
10
- container :
11
- image : ghcr.io/terrapkg/builder:f41
12
- steps :
13
- - uses : actions/checkout@v4
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ container :
11
+ image : ghcr.io/terrapkg/builder:f41
12
+ steps :
13
+ - uses : actions/checkout@v4
14
14
15
- - name : Install dependencies
16
- run : |
17
- dnf4 up -y
18
- dnf4 -y install dnf-plugins-core
19
- # builddep is broken with dnf5 for some reason
20
- dnf4 builddep -y ci/readymade.spec
21
- dnf4 in -y rpmdevtools git rpm-build
15
+ - name : Install dependencies
16
+ run : |
17
+ dnf4 up -y
18
+ dnf4 -y install dnf-plugins-core
19
+ # builddep is broken with dnf5 for some reason
20
+ dnf4 builddep -y ci/readymade.spec
21
+ dnf4 in -y rpmdevtools git rpm-build
22
22
23
- - name : run rpmbuild
24
- run : |
25
- git_sha=${{ github.sha }}
26
- git_short=${git_sha:0:7}
27
- rpmdev-setuptree
28
- rpmbuild -ba ci/readymade.spec --define "gitcommit $git_sha" --define "shortcommit $git_short" --define "_rpmdir $PWD/build" --define "_disable_source_fetch 0"
23
+ - name : run rpmbuild
24
+ run : |
25
+ git_sha=${{ github.sha }}
26
+ git_short=${git_sha:0:7}
27
+ rpmdev-setuptree
28
+ rpmbuild -ba ci/readymade.spec --define "gitcommit $git_sha" --define "shortcommit $git_short" --define "_rpmdir $PWD/build" --define "_disable_source_fetch 0"
29
29
30
- - name : Upload artifacts
31
- uses : actions/upload-artifact@v4
32
- with :
33
- path : build/**/*.rpm
30
+ - name : Upload artifacts
31
+ uses : actions/upload-artifact@v4
32
+ with :
33
+ path : build/**/*.rpm
Original file line number Diff line number Diff line change 1
1
name : Rust
2
2
3
3
on :
4
- push :
5
- pull_request :
4
+ push :
5
+ pull_request :
6
6
7
7
jobs :
8
- rust :
9
- uses : FyraLabs/actions/.github/workflows/rust.yml@main
10
- with :
11
- test-container : ' {"image": "ghcr.io/terrapkg/builder:f41"}'
12
- test-pre : dnf install -y libhelium-devel 'pkgconfig(gnome-desktop-4)' clang-devel gcc mold cmake
8
+ rust :
9
+ uses : FyraLabs/actions/.github/workflows/rust.yml@main
10
+ with :
11
+ test-container : ' {"image": "ghcr.io/terrapkg/builder:f41"}'
12
+ test-pre : dnf install -y libhelium-devel 'pkgconfig(gnome-desktop-4)' clang-devel gcc mold cmake cryptsetup
You can’t perform that action at this time.
0 commit comments