Skip to content

Sharun CI

Sharun CI #61

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Sharun CI
# Controls when the action will run.
on:
# Build at 00:00 on every 12th day-of-month.
schedule:
- cron: "0 0 */6 * *"
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
paths-ignore: [ '**/README.md' ]
pull_request:
branches: [ main ]
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:
build:
runs-on: ubuntu-latest
container: artixlinux/artixlinux:latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Prerequisites
run: |
sed -i 's/DownloadUser/#DownloadUser/g' /etc/pacman.conf
pacman -Syu --noconfirm base-devel \
strace \
patchelf \
curl \
wget \
git \
artix-archlinux-support \
llvm \
mesa \
xorg-server-xvfb \
vulkan-radeon \
vulkan-intel \
vulkan-nouveau
pacman-key --init && pacman-key --populate archlinux
printf "\n[extra]\nInclude = /etc/pacman.d/mirrorlist-arch\n" | tee -a /etc/pacman.conf
pacman -Syu --noconfirm zsync \
alsa-lib \
cmake \
libevdev \
libminiupnpc.so \
libpulse \
libudev.so \
ninja \
python \
qt6-base \
qt6ct \
qt6-svg \
bluez-libs \
bzip2 \
enet \
gcc-libs \
glibc \
hidapi \
libavcodec.so \
libavformat.so \
libavutil.so \
libcurl.so \
libfmt.so \
libgl \
libsfml-network.so \
libsfml-system.so \
libspng.so \
libswscale.so \
libusb-1.0.so \
libx11 \
libxi \
libxrandr \
lz4 \
lzo \
mbedtls2 \
pugixml \
sdl2 \
sfml \
speexdsp \
xxhash \
xz \
zstd
git clone --filter="blob:none" --depth=1 -b master https://github.com/dolphin-emu/dolphin.git dolphin-emu
cd ./dolphin-emu
git submodule update --init --recursive
[ "${COMMIT:=}" ] && git fetch --unshallow --tags && git checkout "$COMMIT"
mkdir -p "$HOME/.ccache"
mkdir Build && cd Build
cmake .. -GNinja -DLINUX_LOCAL_DEV=true
sudo ninja install
cd ../../
# Runs a set of commands using the runners shell
- name: Build appimage
run: |
chmod +x ./dolphin-emu-appimage.sh
./dolphin-emu-appimage.sh
- name: release
uses: "marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303"
with:
title: Continuous Sharun
automatic_release_tag: continuous-Sharun
prerelease: false
draft: false
files: /home/runner/work/Dolphin_emu_Appimage/Dolphin_emu_Appimage/*.AppImage*
repo_token: "${{ secrets.GITHUB_TOKEN }}"