mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 13:52:07 +00:00
feature remove the preset tests
This commit is contained in:
19
.github/workflows/build_orca.yml
vendored
19
.github/workflows/build_orca.yml
vendored
@@ -385,15 +385,6 @@ jobs:
|
|||||||
mv -n ./build/Snapmaker_Orca_Linux_V${{ env.ver_pure }}.AppImage ./build/Snapmaker_Orca_Linux_AppImage${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage
|
mv -n ./build/Snapmaker_Orca_Linux_V${{ env.ver_pure }}.AppImage ./build/Snapmaker_Orca_Linux_AppImage${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage
|
||||||
chmod +x ./build/Snapmaker_Orca_Linux_AppImage${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage
|
chmod +x ./build/Snapmaker_Orca_Linux_AppImage${{ env.ubuntu-ver-str }}_${{ env.ver }}.AppImage
|
||||||
|
|
||||||
- name: Build orca_custom_preset_tests
|
|
||||||
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/2.3.0') && inputs.os == 'ubuntu-24.04'
|
|
||||||
working-directory: ${{ github.workspace }}/build/src/Release
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
./Snapmaker_Orca_profile_validator -p ${{ github.workspace }}/resources/profiles -g 1
|
|
||||||
cd ${{ github.workspace }}/resources/profiles
|
|
||||||
zip -r orca_custom_preset_tests.zip user/
|
|
||||||
|
|
||||||
- name: Upload artifacts Ubuntu
|
- name: Upload artifacts Ubuntu
|
||||||
if: ${{ ! env.ACT && inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' }}
|
if: ${{ ! env.ACT && inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' }}
|
||||||
env:
|
env:
|
||||||
@@ -447,13 +438,3 @@ jobs:
|
|||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
max_releases: 1
|
max_releases: 1
|
||||||
|
|
||||||
- name: Deploy orca_custom_preset_tests
|
|
||||||
if: ${{ ! env.ACT && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/2.3.0') && inputs.os == 'ubuntu-24.04' }}
|
|
||||||
uses: WebFreak001/deploy-nightly@v3.2.0
|
|
||||||
with:
|
|
||||||
upload_url: https://uploads.github.com/repos/Snapmaker/OrcaSlicer/releases/169912305/assets{?name,label}
|
|
||||||
release_id: 169912305
|
|
||||||
asset_path: ${{ github.workspace }}/resources/profiles/orca_custom_preset_tests.zip
|
|
||||||
asset_name: orca_custom_preset_tests.zip
|
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
max_releases: 1
|
|
||||||
|
|||||||
7
.github/workflows/check_profiles.yml
vendored
7
.github/workflows/check_profiles.yml
vendored
@@ -39,13 +39,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./OrcaSlicer_profile_validator -p ${{ github.workspace }}/resources/profiles -l 2
|
./OrcaSlicer_profile_validator -p ${{ github.workspace }}/resources/profiles -l 2
|
||||||
|
|
||||||
- name: validate custom presets
|
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: |
|
|
||||||
curl -LJO https://github.com/SoftFever/OrcaSlicer/releases/download/nightly-builds/orca_custom_preset_tests.zip
|
|
||||||
unzip ./orca_custom_preset_tests.zip -d ${{ github.workspace }}/resources/profiles
|
|
||||||
./Snapmaker_Orca_profile_validator -p ${{ github.workspace }}/resources/profiles -l 2
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user