Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
trin94 committed Jan 25, 2024
1 parent d8cafa2 commit af86a87
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: 'Install just'
uses: taiki-e/install-action@just
- name: 'Update Project Build Information'
id: step_version
run: |
Expand Down Expand Up @@ -55,7 +57,7 @@ jobs:
execute sudo apt update -y
execute sudo apt upgrade -y
execute sudo apt install -y make libmpv1 patchelf libopengl0
execute sudo apt install -y libmpv1 patchelf libopengl0
- name: 'Setup Virtual Environment'
run: |
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
Expand Down Expand Up @@ -110,9 +112,9 @@ jobs:
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
execute source venv/bin/activate
execute make test-python
execute make clean
execute make build
execute just test-python
execute just clean
execute just build
- name: 'Upload Build Artifact'
uses: actions/upload-artifact@v3
if: github.ref_name == 'main'
Expand All @@ -130,18 +132,20 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: '6.6.0'
- name: 'Install just'
uses: taiki-e/install-action@just
- name: 'Lint Qml Files'
run: |
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
execute make lint-qml
execute just lint-qml
continue-on-error: true
- name: 'Execute Qml Tests'
run: |
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
execute export QT_QPA_PLATFORM=offscreen
execute make test-qml
execute just test-qml
build_windows:
runs-on: windows-latest
Expand Down

0 comments on commit af86a87

Please sign in to comment.