Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fedora build #173

Draft
wants to merge 53 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
15077d5
initial commit
May 12, 2022
eef775c
switching to fedora container
May 12, 2022
658caac
checking python instances
May 12, 2022
83761ca
checking python versions
May 12, 2022
1f67a84
trying to fetch anaconda in docker
May 12, 2022
7cfc419
trying to fetch python from dnf
May 12, 2022
75d6446
trying python instead of python3
May 12, 2022
2bf22d1
python --version trial
May 12, 2022
5e1a5aa
checking pip install aydin
May 12, 2022
6557f02
adding yes to dnf calls
May 12, 2022
aa46a90
falling back to checking python version
May 12, 2022
062129a
with only python3
May 12, 2022
08d5cd8
trying to enforce using python3.9
May 12, 2022
2832689
without pip installation
May 12, 2022
b926229
py3.9
May 12, 2022
774f0c5
adding aydin installation
May 12, 2022
99902d8
adding pip installation
May 12, 2022
c0ea535
pip with python3 only
May 12, 2022
1d68dce
plain pip install
May 12, 2022
3aff213
debug ls
May 12, 2022
e170d5b
only ls
May 12, 2022
d63ecb1
cat os-release
May 12, 2022
9ce5e6e
uses checkoutv2
May 12, 2022
585f9c6
build.sh call added
May 12, 2022
18b50fb
switching to pip3
May 12, 2022
bb00225
checking some which
May 12, 2022
8df3561
where instead which
May 12, 2022
b2d627e
python versions
May 12, 2022
a0ea103
pip3 version check
May 12, 2022
271a0aa
sudo -H added
May 13, 2022
55c19a2
sudo -H with pip
AhmetCanSolak May 14, 2022
51708e1
test with pip install --upgrade
May 17, 2022
edd59b5
try dnf remove
May 17, 2022
97206ce
skip broken arg added
May 17, 2022
83de6ef
giving conda on fedora a try
May 17, 2022
1f12cc7
removing illegal anaconda option
May 17, 2022
843a541
anaconda batch mode install
May 17, 2022
87f558e
manual conda hook call
May 17, 2022
8fda765
anaconda3 not anaconda
May 17, 2022
54b20d2
conda env
May 17, 2022
fe63997
single step job
May 17, 2022
9700024
no sudo pip
May 18, 2022
85928f5
only conda python
May 18, 2022
7fa3a26
setuptools debug flag
May 18, 2022
bed5d5e
checking setuptools version
May 18, 2022
616fc09
Merge remote-tracking branch 'upstream/master' into ci-fedora-build
May 19, 2022
9837cc9
ls -lh
May 19, 2022
2cd5fd4
passing fixed version
May 19, 2022
662dc25
no scm requirement
May 19, 2022
cf8e5dd
git tag list
May 19, 2022
1630794
Merge remote-tracking branch 'upstream/master' into ci-fedora-build
May 23, 2022
d64363e
manually installing git
May 23, 2022
7df319e
making git install a separate step
May 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/fedora_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Fedora-build

on: [push]

jobs:
fedora-build:
runs-on: ubuntu-latest
container: fedora:35
steps:
- name: Install Git
run: |
sudo dnf -y install git
git --version
- uses: actions/checkout@v2
- name: Install Python
run: |
git --version
sudo dnf install curl -y
curl --output anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
chmod +x anaconda.sh
bash anaconda.sh -b
eval "$(/github/home/anaconda3/bin/conda shell.bash hook)"
conda init
conda info --envs
conda create -y -n ay39 python=3.9
conda activate ay39
python -V
export SETUPTOOLS_SCM_DEBUG=1
python -c "import setuptools; print(setuptools.__version__)"
ls -lh
pip install -e .
pip install -r requirements/development.txt
sh build/linux/build.sh
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
# os.system("pip install -r " + os.path.join('requirements', 'pyopencl.txt'))

setup(
use_scm_version={"write_to": "aydin/_version.py"},
setup_requires=['setuptools_scm'],
# use_scm_version={"write_to": "aydin/_version.py"},
# setup_requires=['setuptools_scm'],
version="0.1.14",
entry_points={'console_scripts': ['aydin=aydin.cli.cli:cli']},
)