Update build.yml
Update to hopefully fix several deprecation warnings. This means that most builds are now also on a slightly newer OS version which might limit some people. However, this is unavoidable as the old system images are going away soon.
This commit is contained in:
+12
-12
@@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
buildlinux:
|
buildlinux:
|
||||||
name: Linux x64
|
name: Linux x64
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare Environment
|
- name: Prepare Environment
|
||||||
@@ -16,10 +16,10 @@ jobs:
|
|||||||
sudo apt-get install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-randr0
|
sudo apt-get install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-randr0
|
||||||
|
|
||||||
- name: Prepare Qt Libraries
|
- name: Prepare Qt Libraries
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v3
|
||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
@@ -33,14 +33,14 @@ jobs:
|
|||||||
chmod a+x linuxdeployqt-5-x86_64.AppImage
|
chmod a+x linuxdeployqt-5-x86_64.AppImage
|
||||||
./linuxdeployqt-5-x86_64.AppImage appdir/usr/share/applications/SavvyCAN.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so,canbus
|
./linuxdeployqt-5-x86_64.AppImage appdir/usr/share/applications/SavvyCAN.desktop -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so,canbus
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: SavvyCAN-Linux_x64.AppImage
|
name: SavvyCAN-Linux_x64.AppImage
|
||||||
path: SavvyCAN-x86_64.AppImage
|
path: SavvyCAN-x86_64.AppImage
|
||||||
|
|
||||||
buildmacos:
|
buildmacos:
|
||||||
name: macOS x64
|
name: macOS x64
|
||||||
runs-on: macos-10.15
|
runs-on: macos-11
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare macOS Environment
|
- name: Prepare macOS Environment
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
brew link qt5 --force
|
brew link qt5 --force
|
||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
cp -R help/* SavvyCAN.app/Contents/MacOS/help
|
cp -R help/* SavvyCAN.app/Contents/MacOS/help
|
||||||
macdeployqt SavvyCAN.app -dmg
|
macdeployqt SavvyCAN.app -dmg
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: SavvyCAN-macOS_x64.dmg
|
name: SavvyCAN-macOS_x64.dmg
|
||||||
path: SavvyCAN.dmg
|
path: SavvyCAN.dmg
|
||||||
@@ -73,10 +73,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare Qt Libraries
|
- name: Prepare Qt Libraries
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v3
|
||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
shell: cmd
|
shell: cmd
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
mkdir package/canbus
|
mkdir package/canbus
|
||||||
copy "${Env:Qt5_Dir}/plugins/canbus/*.*" package/canbus/
|
copy "${Env:Qt5_Dir}/plugins/canbus/*.*" package/canbus/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: SavvyCAN-Windows_x64
|
name: SavvyCAN-Windows_x64
|
||||||
path: package
|
path: package
|
||||||
@@ -124,9 +124,9 @@ jobs:
|
|||||||
needs: [buildwindows, buildmacos, buildlinux]
|
needs: [buildwindows, buildmacos, buildlinux]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v3
|
||||||
|
|
||||||
- name: Display structure of downloaded files
|
- name: Display structure of downloaded files
|
||||||
run: zip -r SavvyCAN_CIBuild.zip SavvyCAN-Windows_x64
|
run: zip -r SavvyCAN_CIBuild.zip SavvyCAN-Windows_x64
|
||||||
|
|||||||
Reference in New Issue
Block a user