Skip to content

Commit

Permalink
checkpoint-kai-1700371948
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Nov 19, 2023
1 parent f653a9f commit 04536c4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
runs:
using: docker
image: Dockerfile
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make pyenv-ubuntu
- run: make install
- run: invoke test
16 changes: 8 additions & 8 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
help: ## Show this help.
@egrep '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'

ifdef CI
python: # python should already be installed in CI
python --version
else
python: # install python
pyenv install --skip-existing
endif
pyenv-ubuntu: ## install pyenv on ubuntu
sudo apt-get update
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev \
liblzma-dev python-openssl git
curl https://pyenv.run | bash

install: ## install python, and python packages
$(MAKE) python
pyenv install --skip-existing
pip install invoke pyyaml
python -m venv venv
./venv/bin/pip install --upgrade pip pipenv
Expand Down

0 comments on commit 04536c4

Please sign in to comment.