mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
build: setup pre-release build pipeline
This commit is contained in:
parent
e250e4e353
commit
9b27720bf9
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -33,8 +33,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ env.GITHUB_TOKEN }}
|
token: ${{ env.GITHUB_TOKEN }}
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.10.11
|
python-version: 3.10.11
|
||||||
- name: Setup Poetry
|
- name: Setup Poetry
|
||||||
uses: snok/install-poetry@v1
|
uses: snok/install-poetry@v1
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: .venv
|
path: .venv
|
||||||
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
||||||
|
|
||||||
- name: Install python dependencies
|
- name: Install python dependencies
|
||||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||||
run: poetry install
|
run: poetry install
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
run: sudo apt install build-essential curl wget libssl-dev
|
run: sudo apt install build-essential curl wget libssl-dev
|
||||||
|
|
||||||
- run: source $VENV
|
- run: source $VENV
|
||||||
|
|
||||||
- name: Build Backend
|
- name: Build Backend
|
||||||
run: poetry run pyinstaller --noconfirm EyeTrackApp/eyetrackapp.spec EyeTrackApp/eyetrackapp.py
|
run: poetry run pyinstaller --noconfirm EyeTrackApp/eyetrackapp.spec EyeTrackApp/eyetrackapp.py
|
||||||
|
|
||||||
@ -77,8 +77,9 @@ jobs:
|
|||||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
#mv ./dist/ETVR ./dist/ETVR.bin
|
#mv ./dist/ETVR ./dist/ETVR.bin
|
||||||
run: |
|
run: |
|
||||||
ls -a dist
|
ls -a build
|
||||||
mv ./dist/eyetrackapp ./dist/eyetrackapp.bin
|
ls -a eyetrackapp
|
||||||
|
mv ./build/eyetrackapp/eyetrackapp ./build/eyetrackapp/eyetrackapp.bin
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -127,4 +128,4 @@ jobs:
|
|||||||
- name: "♻️ remove build artifacts"
|
- name: "♻️ remove build artifacts"
|
||||||
uses: geekyeggo/delete-artifact@v1
|
uses: geekyeggo/delete-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: production-files
|
name: production-files
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user