Skip to content

Add package CI on "v*" tag push. #9

Add package CI on "v*" tag push.

Add package CI on "v*" tag push. #9

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 libpulse-dev libkpipewire-dev
- 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: ${{ env.PACKAGE_NAME }}
draft: true
fail_on_unmatched_files: true
package-windows:
runs-on: windows-latest
env:
PACKAGE_NAME: NovaSwarm-x64-windows-v0.1.0.zip
steps:
- uses: actions/checkout@v4
- 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: NovaSwarm-x64-windows-v0.1.0.zip
draft: true
fail_on_unmatched_files: 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=${{ env.PACKAGE_NAME }} -P tools/package_release.cmake
- name: upload release
uses: softprops/action-gh-release@v2
with:
files: ${{ env.PACKAGE_NAME }}
draft: true
fail_on_unmatched_files: true