FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.12k stars 143 forks source link

Add GHA workflow #291

Closed egornovivan closed 4 months ago

FunkyFr3sh commented 4 months ago

How is this supposed to work? What triggers the build? @egornovivan

egornovivan commented 4 months ago

What triggers the build?

@FunkyFr3sh Any push to these branches. I see for some reason it doesn't work for you. Look on the action tab, is it enabled?

on:
 push:
  branches:
  - 'master'
  - 'develop'
  - 'github-action'

I'll do a full build a little later. RAD Studio somewhat problematic

egornovivan commented 4 months ago

@FunkyFr3sh Look at the settings изображение

FunkyFr3sh commented 4 months ago

all settings are good, i think i found the problem

https://github.com/FunkyFr3sh/cnc-ddraw/blob/master/.github/workflows/build.yml#L9

it only builds if you modify these two files

egornovivan commented 4 months ago

if you modify these two files

ou, I forgot that I deleted the line from there

  paths:
  - '.github/workflows/build.yml'
  - 'action.yml'
  - '**'

Write it there ** But anyway, later I’ll complete the workflow for the RAD Studio project