GitHub Actions for Siv3D ♋ Setup Siv3D and build your apps.
Currently, supports Windows and Linux builds.
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