Skip to content

fix double-free in allocate.asm #36

fix double-free in allocate.asm

fix double-free in allocate.asm #36

on: [push]
name: fox32 demos buildtest
jobs:
demos-unstable:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download latest fox32asm artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32asm
workflow: fox32asm-unstable-linux.yml
workflow_conclusion: success
- name: Download latest fox32rom artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32rom
workflow: fox32rom-unstable.yml
workflow_conclusion: success
- name: Download latest fox32os artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32os
workflow: fox32os-unstable.yml
workflow_conclusion: success
- name: Download RYFS tools
uses: actions/checkout@v3
with:
repository: ry755/ryfs
path: ryfs
- name: Build
run: |
mkdir ../fox32rom ../fox32os
cp fox32rom.def/fox32rom.def ../fox32rom
cp fox32os.def/fox32os.def ../fox32os
chmod +x fox32asm/fox32asm
make FOX32ASM=fox32asm/fox32asm RYFS=ryfs/ryfs.py
- name: Install libsdl2
run: |
sudo apt update
sudo apt install -y libsdl2-2.0-0
- name: Download latest fox32 artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32
workflow: fox32-unstable-linux.yml
workflow_conclusion: success
- name: Run CPU test
run: |
chmod +x fox32/fox32
make test FOX32=fox32/fox32 FOX32OS_IMG=fox32os.img/fox32os.img
- name: Upload demos
uses: actions/upload-artifact@v3
with:
name: demos
path: |
demos/*/*.fxf
demos.img
- name: Upload cputest
uses: actions/upload-artifact@v3
with:
name: cputest
path: |
cputest/cputest.bin
cputest/cputest.fxf