Skip to content

Commit

Permalink
Add CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
flysand7 committed Oct 4, 2024
1 parent d449051 commit 8713829
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build
run-name: Build
on:
- push
jobs:
build-linux:
name: Build (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release: latest
build-type: release
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4.1"
- name: Build CLI
run: lua build.lua
build-windows:
name: Build (windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release: latest
build-type: release
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4.1"
- name: Build CLI
run: lua build.lua

0 comments on commit 8713829

Please sign in to comment.