-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
2 changed files
with
42 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: fedora | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Podman | ||
run: | | ||
sudo apt update | ||
sudo apt-get -y install podman | ||
podman pull fedora:38 | ||
- name: Get source | ||
uses: actions/checkout@v3 | ||
- name: Create container and run tests | ||
run: | | ||
{ | ||
echo 'FROM fedora:38' | ||
echo 'RUN dnf -y update' | ||
echo 'RUN dnf -y install python3 koji copr-cli' | ||
echo 'RUN cp config/copr.repo /etc/yum.repos.d/python313.repo' | ||
echo 'RUN repoquery --repo=python313 --source --whatrequires 'libpython3.13.so.1.0()(64bit)' --whatrequires 'python(abi) = 3.13' --whatrequires 'python3.13dist(*)' | pkgname | env LANG=en_US.utf-8 sort | uniq > python313.pkgs' | ||
echo 'RUN wc -l python313.pkgs' | ||
} > podmanfile | ||
podman build --tag fedora38test -f ./podmanfile |
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,11 @@ | ||
[python313] | ||
name=Copr repo for python3.13 owned by @python | ||
baseurl=https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-$basearch/ | ||
type=rpm-md | ||
skip_if_unavailable=False | ||
gpgcheck=1 | ||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/pubkey.gpg | ||
repo_gpgcheck=0 | ||
enabled=0 | ||
enabled_metadata=1 | ||
priority=9 |