Skip to content

Commit

Permalink
add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brainrake committed Jan 9, 2024
1 parent 3f39715 commit 766cb98
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build
on: push

jobs:
build:
runs-on: "ubuntu-22.04"

steps:
-uses: actions/checkout@v4

- uses: cachix/install-nix-action@v24

- uses: cachix/cachix-action@v13
with:
name: mlabs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Build GDExtension for Windows
run: nix build .#libcsl_godot-win

- uses: actions/upload-artifact@v4
path: result/bin/csl_godot.dll
with:
name: libcsl_godot-win

- name: Build Demo app for Windows
run: nix build .#csl_demo-win

- uses: actions/upload-artifact@v4
path: result/bin/
with:
name: csl_demo-win

0 comments on commit 766cb98

Please sign in to comment.