Skip to content

package

package #6

Workflow file for this run

name: package
on:
push:
tags:
- 'v*'
jobs:
package-linux:
runs-on: ubuntu-24.04
env:
PACKAGE_NAME: NovaSwarm-x64-linux-v0.1.0.zip
steps:
- uses: actions/checkout@v4
- name: init
run: sudo apt update -yqq && sudo apt install -yqq ninja-build xorg-dev
- name: package release
run: cmake -DPACKAGE_NAME=$PACKAGE_NAME -P tools/package_release.cmake
- name: upload release
uses: softprops/action-gh-release@v2
with:
files: $PACKAGE_NAME
draft: true
package-windows:
runs-on: windows-latest
env:
PACKAGE_NAME: NovaSwarm-x64-windows-v0.1.0.zip
steps:
- uses: actions/checkout@v4
- name: init
run: choco install ninja
- name: package release
run: cmake -DPACKAGE_NAME=$env:PACKAGE_NAME -P tools/package_release.cmake
- name: upload release
uses: softprops/action-gh-release@v2
with:
files: $PACKAGE_NAME
draft: true
package-macos:
runs-on: macos-latest
env:
CPU_ARCH: arm64
OS_NAME: macos
PACKAGE_NAME: NovaSwarm-arm64-macos-v0.1.0.zip
steps:
- uses: actions/checkout@v4
- name: init
run: brew install ninja
- name: package release
run: cmake -DPACKAGE_NAME=$PACKAGE_NAME -P tools/package_release.cmake
- name: upload release
uses: softprops/action-gh-release@v2
with:
files: $PACKAGE_NAME
draft: true