Skip to content

Merge pull request #107 from kubernetes-sigs/dependabot/github_action… #172

Merge pull request #107 from kubernetes-sigs/dependabot/github_action…

Merge pull request #107 from kubernetes-sigs/dependabot/github_action… #172

Workflow file for this run

name: Build Linux
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build-linux:
# AppImage requires ubuntu focal
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: jurplel/install-qt-action@b3ea5275e37b734d027040e2c7fe7a10ea2ef946
with:
cache: true
- name: cache linuxdeployqt
id: cache-appimage
uses: actions/cache@v3
with:
path: linuxdeployqt-continuous-x86_64.AppImage
key: linuxdeployqt-x86_64
- if: ${{ steps.cache-appimage.outputs.cache-hit != 'true' }}
name: download linuxdeployqt
run: |
curl -LO https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
- name: install linuxdeployqt
run: |
chmod +x linuxdeployqt-continuous-x86_64.AppImage
./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract
sudo cp -pr squashfs-root/usr/bin/* /usr/bin/
sudo cp -pr squashfs-root/usr/lib/* /usr/lib/
rm -rf squashfs-root
chmod -x linuxdeployqt-continuous-x86_64.AppImage
- name: cache adwaita-qt
uses: actions/cache@v3
with:
path: adwaita-qt-1.4.2.tar.gz
key: adwaita-qt-1.4.2.tar.gz
- name: build
run: |
make build-linux
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: minikube-gui-linux
path: ./minikube-gui-linux.AppImage