File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build with pyinstaller
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ branches :
9+ - main
10+
11+ jobs :
12+ release :
13+ runs-on : ${{ matrix.os }}
14+
15+ strategy :
16+ matrix :
17+ os : [macos-10.15, windows-latest, ubuntu-latest]
18+
19+ steps :
20+ - name : Check out Git repository
21+ uses : actions/checkout@v1
22+
23+ - name : Create virtual environment
24+ run : make venv
25+
26+ - name : Build using pyinstaller
27+ run : make build
28+
29+ - name : Smoke test
30+ run : |
31+ ls dist/localstack
32+ dist/localstack/localstack --help
33+ dist/localstack/localstack config show
34+
35+ - name : Archive distribution
36+ run : |
37+ cd dist/
38+ tar -czf localstack-packaged-cli-${{ matrix.os }}.tar.gz localstack
39+
40+ - name : Upload artifacts
41+ uses : actions/upload-artifact@v2
42+ with :
43+ name : localstack-packaged-cli-${{ matrix.os }}
44+ path : dist/localstack-packaged-cli-${{ matrix.os }}.tar.gz
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ venv: $(VENV_ACTIVATE)
1515
1616$(VENV_ACTIVATE ) : requirements.txt
1717 test -d $(VENV_DIR ) || $(VENV_BIN ) $(VENV_DIR )
18+ $(VENV_RUN ) ; pip install --upgrade setuptools wheel
1819 $(VENV_RUN ) ; pip install -r requirements.txt
19- touch $(VENV_DIR ) /bin/activate
20+ touch $(VENV_ACTIVATE )
2021
2122dist/localstack/localstack : main.py
2223 $(VENV_RUN ) ; pyinstaller main.py \
You can’t perform that action at this time.
0 commit comments