Compare commits
5 Commits
b7836361d9
...
6d6eb41e5a
Author | SHA1 | Date | |
---|---|---|---|
6d6eb41e5a | |||
d59bcdb676 | |||
109dd4588a | |||
7a34f3c2c2 | |||
f471455dab |
40
.gitea/workflows/love2d-load-test.yaml
Normal file
40
.gitea/workflows/love2d-load-test.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user