Skip to content

Commit

Permalink
Merge pull request #115 from myk002/myk_ci
Browse files Browse the repository at this point in the history
enable CI for stonesense repo
  • Loading branch information
myk002 authored Dec 25, 2024
2 parents 1fa31fe + 83c7b78 commit a915e5a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build

on: [push, pull_request]

jobs:
package-win64:
name: Windows
uses: DFHack/dfhack/.github/workflows/build-windows.yml@develop
with:
stonesense_repo: ${{ github.repository }}
stonesense_ref: ${{ github.ref }}
artifact-name: dfhack-windows64-build
cache-id: test
stonesense: true
secrets: inherit

package-linux:
name: Linux
uses: DFHack/dfhack/.github/workflows/build-linux.yml@develop
with:
stonesense_repo: ${{ github.repository }}
stonesense_ref: ${{ github.ref }}
artifact-name: dfhack-linux64-build
cache-id: test
stonesense: true
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/clean-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Clean up PR caches

on:
pull_request_target:
types:
- closed

jobs:
cleanup:
uses: DFHack/dfhack/.github/workflows/clean-cache.yml@develop
secrets: inherit

0 comments on commit a915e5a

Please sign in to comment.