Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Handle malloc returning NULL more gracefully #69

Handle malloc returning NULL more gracefully

Handle malloc returning NULL more gracefully #69

Workflow file for this run

name: Unstable
on:
push:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{ matrix.sys.os }}
strategy:
matrix:
sys:
- { os: windows-latest, shell: pwsh }
- { os: ubuntu-latest, shell: bash }
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install Dependencies
if: ${{ matrix.sys.os == 'ubuntu-latest' }}
run: sudo apt update && sudo apt install xorg-dev zenity
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DZIP_RELEASE=1
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 2
- name: Release
uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e
with:
name: ${{ github.ref }}
tag: 'unstable'
artifacts: build/ripped_apart_*.zip
allowUpdates: true
draft: false
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
omitPrereleaseDuringUpdate: true
prerelease: true
replacesArtifacts: false
skipIfReleaseExists: false