6
0

Compare commits

..

5 Commits

Author SHA1 Message Date
6d6eb41e5a
Cleanup 2024-04-04 00:03:37 +02:00
d59bcdb676
Load test as separate file 2024-04-04 00:02:11 +02:00
109dd4588a
load-test-v03: Software rendering 2024-04-03 23:45:43 +02:00
7a34f3c2c2
load-test-v02 2024-04-03 23:38:31 +02:00
f471455dab
load-test-v01 2024-04-03 23:33:53 +02:00

View File

@ -0,0 +1,40 @@
name: LÖVE Game Load Test
on:
workflow_call:
secrets:
PIPELINE_WORKER_SSH_KEY:
type: string
required: true
PIPELINE_WORKER_KNOWN_HOSTS:
type: string
required: true
PIPELINE_WORKER_USERNAME:
type: string
required: true
jobs:
game-load-test:
runs-on: ubuntu-latest
steps:
- run: apt-get update
- run: apt-get install -y fish luajit optipng ffmpeg zip rsync love
- name: Setting up SSH
uses: https://github.com/shimataro/ssh-key-action@v2.5.1
with:
key: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }}
config: |
Host gitfub
HostName gitfub.space
User ${{ secrets.PIPELINE_WORKER_USERNAME }}
- name: Check out repository
uses: actions/checkout@v3
# Create artifacts
- name: Building game
run: fish ${{ github.workspace }}/assemble love
- name: Trying to start game
run: LIBGL_ALWAYS_SOFTWARE=1 love bin/love