Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: update actions & drop GTK2 builds #3752

Open
wants to merge 1 commit into
base: nightly_dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ccpp_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
hdiutil create -ov -fs HFS+ -volname ${{ github.event.repository.name }} -srcfolder "build/pack/${{ github.event.repository.name }}" temp.dmg
hdiutil convert temp.dmg -format UDZO -o ${{ github.event.repository.name }}.dmg
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_macos.app
path: build/pack/${{ github.event.repository.name }}/${{ github.event.repository.name }}.app
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_macos.dmg
path: ${{ github.event.repository.name }}.dmg
4 changes: 2 additions & 2 deletions .github/workflows/ccpp_mac_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
- name: build deps & slicer
run: ./BuildMacOS.sh -ia
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_macos_arm_debug.dmg
path: build/${{ github.event.repository.name }}.dmg
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_arm_macos.tar
path: build/${{ github.event.repository.name }}.tar
6 changes: 3 additions & 3 deletions .github/workflows/ccpp_mac_arm_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'debug_macos'
- name: build deps & slicer
Expand All @@ -20,12 +20,12 @@ jobs:
working-directory: ./build
run: ls
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_macos_arm_debug.dmg
path: build/${{ github.event.repository.name }}.dmg
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_arm_macos.tar
path: build/${{ github.event.repository.name }}.tar
4 changes: 2 additions & 2 deletions .github/workflows/ccpp_mac_arm_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'rc'
- name: build deps & slicer
run: ./BuildMacOS.sh -ia
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: rc_arm_macos.tar
path: build/${{ github.event.repository.name }}.tar
6 changes: 3 additions & 3 deletions .github/workflows/ccpp_mac_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: macos-12

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'debug_macos'
- name: build deps & slicer
Expand All @@ -28,12 +28,12 @@ jobs:
working-directory: ./build
run: ls
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_macos_debug.dmg
path: build/${{ github.event.repository.name }}.dmg
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_macos.tar
path: ${{ github.event.repository.name }}.tar
6 changes: 3 additions & 3 deletions .github/workflows/ccpp_mac_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'rc'
- name: build deps & slicer
Expand Down Expand Up @@ -61,12 +61,12 @@ jobs:
codesign -vvv --deep --strict ./build/pack/SuperSlicer/SuperSlicer.app
codesign -dvv ./build/pack/SuperSlicer/SuperSlicer.app
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: rc_macos.app
path: build/pack/SuperSlicer/SuperSlicer.app
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: rc_macos.dmg
path: build/SuperSlicer.dmg
35 changes: 19 additions & 16 deletions .github/workflows/ccpp_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,43 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.16.x'

- name: update apt cache & install packages
run: sudo apt update && sudo apt -y install git cmake libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext

- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update --init
- name: change date in version
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc

- name: update clock
run: sudo hwclock -s
- name: update apt
run: sudo apt update
- name: install gtk2 glew
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev gettext

- name: change date in version
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc

- name: build deps & slicer
run: ./BuildLinux.sh -dgs
run: ./BuildLinux.sh -ds

- name: make .pot
working-directory: ./build
run: make gettext_make_pot

- name: build tar & appimage
working-directory: ./build
run: src/BuildLinuxImage.sh -i

- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_linux_gtk2.tar
name: nightly_linux.tar
path: build/${{ github.event.repository.name }}.tar

- name: Upload appimage
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-gtk2.AppImage
name: ${{ github.event.repository.name }}.AppImage
path: build/${{ github.event.repository.name }}_ubu64.AppImage
38 changes: 21 additions & 17 deletions .github/workflows/ccpp_ubuntu_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,46 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'debug_ubuntu'
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.16.x'

- name: update apt cache & install packages
run: sudo apt update && sudo apt -y install git cmake libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext libssl-dev libcurl4-openssl-dev

- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update --init
- name: change date in version
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc

- name: update clock
run: sudo hwclock -s
- name: update apt
run: sudo apt update
- name: install gtk2 glew
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev gettext

- name: change date in version
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc

- name: build deps & slicer
run: ./BuildLinux.sh -bdgs
run: ./BuildLinux.sh -bds

- name: make .pot
working-directory: ./build
run: make gettext_make_pot

- name: build tar & appimage
working-directory: ./build
run: src/BuildLinuxImage.sh -i

- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: nightly_linux_gtk2.tar
name: nightly_linux.tar
path: build/${{ github.event.repository.name }}.tar

- name: Upload appimage
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-gtk2.AppImage
name: ${{ github.event.repository.name }}.AppImage
path: build/${{ github.event.repository.name }}_ubu64.AppImage

50 changes: 0 additions & 50 deletions .github/workflows/ccpp_ubuntu_gtk3.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/ccpp_ubuntu_gtk3_debug.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/ccpp_ubuntu_gtk3_rc.yml

This file was deleted.

Loading