mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 14:28:28 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6b93d250a6 | |||
| d4618c1c0f | |||
| 5f1bfbe1fe | |||
| af84af564c | |||
| 8e81ac1106 | |||
| d3b3f1a592 | |||
| 462b61e7f2 | |||
| 44a8e60cfa | |||
| 0508c998ef |
@@ -26,9 +26,17 @@ jobs:
|
||||
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
with:
|
||||
ref: f${{ matrix.version }}
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Setup build environment
|
||||
run: |
|
||||
sed -i 's/.fc%{fedora}/.fcrawhide/g' /usr/lib/rpm/macros.d/macros.dist
|
||||
cat<<EOF >> /etc/dnf/dnf.conf
|
||||
gpgcheck=1
|
||||
install_weak_deps=0
|
||||
max_parallel_downloads=20
|
||||
EOF
|
||||
|
||||
- name: Build anda-srpm-macros
|
||||
run: |
|
||||
mkdir -p anda-build/rpm/rpms
|
||||
@@ -37,7 +45,7 @@ jobs:
|
||||
dnf5 install -y ./anda-build/rpm/rpms/anda-*.rpm
|
||||
|
||||
- name: Install build dependencies
|
||||
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
|
||||
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros,appstream-helper,sccache}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
|
||||
|
||||
- name: Install Anda
|
||||
run: |
|
||||
@@ -60,6 +68,9 @@ jobs:
|
||||
- name: Build terra-appstream-helper
|
||||
run: anda build -D "vendor Terra" -D "__python %{__python3}" -rrpmbuild anda/terra/appstream-helper/pkg
|
||||
|
||||
- name: Build terra-sccache
|
||||
run: anda build -D "vendor Terra" -rrpmbuild anda/terra/sccache/pkg
|
||||
|
||||
- name: Build Subatomic
|
||||
run: anda build -D "vendor Terra" -rrpmbuild anda/tools/subatomic/pkg
|
||||
- name: Install Subatomic
|
||||
|
||||
@@ -7,6 +7,8 @@ options, or alternatively, in local storage.
|
||||
This build actually enables caching to remote storage.}
|
||||
%bcond dist %["%{_target_cpu}" == "x86_64"]
|
||||
|
||||
%global crates_source https://static.crates.io/crates/sccache/sccache-%version.crate
|
||||
|
||||
Name: terra-sccache
|
||||
Version: 0.15.0
|
||||
Release: 1%{?dist}
|
||||
@@ -14,7 +16,7 @@ Summary: Remote caching enabled builds of sccache
|
||||
SourceLicense: Apache-2.0 AND (Apache-2.0 OR MIT)
|
||||
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND Unicode-DFS-2016) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 AND ISC) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CDLA-Permissive-2.0 AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT)
|
||||
URL: https://crates.io/crates/sccache
|
||||
Source0: %{crates_source}
|
||||
Source0: https://static.crates.io/crates/sccache/sccache-%version.crate
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: cargo
|
||||
BuildRequires: cargo-rpm-macros
|
||||
|
||||
Reference in New Issue
Block a user