CI #419
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Build at 00:00 on every 12th day-of-month. | |
schedule: | |
- cron: "0 0 */12 * *" | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
paths-ignore: [ '**/README.md' ] | |
pull_request: | |
branches: [ master ] | |
paths-ignore: [ '**/README.md' ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build-stable" | |
build-stable: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# stable | |
echo "WINE_VER=stable_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-stable | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-stable.yml | |
squashfs-root/AppRun --recipe wine-stable.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (stable) | |
automatic_release_tag: continuous-stable | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
build-stable-4-i386: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# stable | |
echo "WINE_VER=stable-i386_4.0.4" >> $GITHUB_ENV | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-stable-4-i386.yml | |
squashfs-root/AppRun --recipe wine-stable-4-i386.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (stable) 4.0.x i386 | |
automatic_release_tag: continuous-stable-4-i386 | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
build-stable-4-amd64: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# stable | |
echo "WINE_VER=stable-amd64_4.0.4" >> $GITHUB_ENV | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-stable-4-amd64.yml | |
squashfs-root/AppRun --recipe wine-stable-4-amd64.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (stable) 4.0.x amd64 | |
automatic_release_tag: continuous-stable-4-amd64 | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
build-stable-4-multi: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# stable | |
echo "WINE_VER=stable-multi_4.0.4" >> $GITHUB_ENV | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-stable-4-multi.yml | |
squashfs-root/AppRun --recipe wine-stable-4-multi.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (stable) 4.0.x multi | |
automatic_release_tag: continuous-stable-4-multi | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
# This workflow contains a single job called "build-devel" | |
build-devel: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# devel | |
if [ $(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | head -1 | grep -c ~rc) -gt 0 ]; then | |
echo "WINE_VER=devel_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | sed 's|_| |g;s|~| |2;s|~|-|' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV | |
else | |
echo "WINE_VER=devel_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV | |
fi | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-devel.yml | |
squashfs-root/AppRun --recipe wine-devel.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (devel) | |
automatic_release_tag: continuous-devel | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
# This workflow contains a single job called "build-staging" | |
build-staging: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# staging | |
if [ $(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-staging | head -1 | grep -c ~rc) -gt 0 ]; then | |
echo "WINE_VER=staging_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-staging | sed 's|_| |g;s|~| |2;s|~|-|' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV | |
else | |
echo "WINE_VER=staging_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-staging | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV | |
fi | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-staging.yml | |
squashfs-root/AppRun --recipe wine-staging.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (staging) | |
automatic_release_tag: continuous-staging | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
# This workflow contains a single job called "build-staging-ge-lol" | |
build-staging-ge-lol: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
sudo apt update && sudo apt install libfuse2 -y | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# staging | |
echo "WINE_VER=staging_ge-lol_$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/releases?page=2" | grep -Eo "LoL.*n>" | head -1 | grep -Eo 7.* | sed 's|-LoL| |' | awk '{print $1}')" >> $GITHUB_ENV | |
# Nvidia | |
#echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add dir dist | |
mkdir dist | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-staging-ge-lol.yml | |
squashfs-root/AppRun --recipe wine-staging-ge-lol.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (staging) GE LoL | |
automatic_release_tag: continuous-staging_ge_lol | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
# This workflow contains a single job called "build-staging-ge-proton" | |
build-staging-ge-proton: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prerequisites | |
run: | | |
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null | |
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ | |
# staging | |
echo "WINE_VER=staging_ge-proton_$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/tags" | grep -Eo "GE-P.*" | head -1 | sed -r 's|-GE||g;s|"| |g;s|n| |g' | awk '{print $2}')" >> $GITHUB_ENV | |
# Nvidia | |
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV | |
# Runs a set of commands using the runners shell | |
- name: Build appimage | |
run: | | |
# add custom mksquashfs | |
cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs | |
# force zstd format in appimagebuilder for appimages | |
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py | |
# set Nvidia driver version | |
# sed -i "s|520|$NVDV|" wine-staging-ge-proton.yml | |
squashfs-root/AppRun --recipe wine-staging-ge-proton.yml | |
- name: release | |
uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 | |
with: | |
title: Continuous build (staging) GE Proton | |
automatic_release_tag: continuous-staging_ge_proton | |
prerelease: false | |
draft: false | |
files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |