Ryoga-exe / Siv3D-Actions

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

Home Page:https://github.com/marketplace/actions/setup-siv3d-and-build-apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Siv3D-Actions

Test-Windows Test-Linux

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

Currently, supports Windows and Linux builds.

Usage

Example workflow

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

About

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

https://github.com/marketplace/actions/setup-siv3d-and-build-apps

License:MIT License


Languages

Language:GLSL 92.6%Language:C++ 6.7%Language:CMake 0.6%Language:C 0.1%