Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryoga-exe/siv3d-actions

GitHub Actions for Siv3D ♋ Setup Siv3D and build your apps.
https://github.com/ryoga-exe/siv3d-actions

github-actions opensiv3d siv3d

Last synced: 24 days ago
JSON representation

GitHub Actions for Siv3D ♋ Setup Siv3D and build your apps.

Awesome Lists containing this project

README

        

# Siv3D-Actions

[![Test-Windows](https://github.com/Ryoga-exe/Siv3D-Actions/actions/workflows/test-windows.yml/badge.svg)](https://github.com/Ryoga-exe/Siv3D-Actions/actions/workflows/test-windows.yml)
[![Test-Linux](https://github.com/Ryoga-exe/Siv3D-Actions/actions/workflows/test-linux.yml/badge.svg)](https://github.com/Ryoga-exe/Siv3D-Actions/actions/workflows/test-linux.yml)

GitHub Actions for [Siv3D](https://siv3d.github.io/) ♋ Setup Siv3D and build your apps.

Currently, supports Windows and Linux builds.

## Usage

### Example workflow

```yml
name: Build Siv3D App on Windows

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

env:
SOLUTION_FILE_PATH: "."
APP_PATH: "./App"

permissions:
contents: read

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Setup Siv3D and build
uses: Ryoga-exe/Siv3D-Actions@v2
with:
solution-path: ${{ env.SOLUTION_FILE_PATH }}

- name: Publish App
uses: actions/upload-artifact@v3
with:
name: App
path: |
${{ env.APP_PATH }}
!${{ env.APP_PATH }}/engine
!${{ env.APP_PATH }}/AS_DEBUG
!${{ env.APP_PATH }}/Screenshot
!${{ env.APP_PATH }}/*.ico
!${{ env.APP_PATH }}/Resource.rc
```