Skip to content

Test2

Test2 #37

Workflow file for this run

name: Test2
on: workflow_dispatch
env:
MAJOR: 0
MINOR: 5
MAN: 0
YEAR: 2024
LUA_V: 5.4.6
MESA_V: 23.1.1
GLEW_V: 2.2.0
SDL_V: 2.30.0
SDL_NET_V: 2.2.0
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: configure SDK
uses: mymindstorm/setup-emsdk@v14
- name: download lua source
uses: suisei-cn/[email protected]
with:
url: "http://www.lua.org/ftp/lua-${{ env.LUA_V }}.tar.gz"
target: .
- name: extract lua
run: tar zxf lua-${{ env.LUA_V }}.tar.gz
- name: remove main in lua
run: rm lua-${{ env.LUA_V }}/src/lua.c lua-${{ env.LUA_V }}/src/luac.c
- name: copy lua sources
run: cp lua-${{ env.LUA_V }}/src/* ./src/
- name: clear samples
run: |
rm samples/*.pdf
rm samples/*.svg
rm samples/*.ps
rm samples/*.jpg
- name: get make and resources files
run: |
cp emscripten/Makefile ./Makefile
cp emscripten/shell_minimal.html ./shell_minimal.html
- name: make
run: make
- name: create archive
run: |
zip -r emscripten cadzinho.js cadzinho.wasm cadzinho.html cadzinho.data
- name: Upload the result
uses: actions/[email protected]
with:
name: emscripten
path: emscripten.zip
retention-days: 5
cadzinho_${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.MAN }}_amd64.deb
cadzinho-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.MAN }}-1.x86_64.rpm
retention-days: 5

Check failure on line 59 in .github/workflows/test2.yml

View workflow run for this annotation

GitHub Actions / Test2

Invalid workflow file

The workflow is not valid. .github/workflows/test2.yml (Line: 59, Col: 9): 'retention-days' is already defined