summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 00000000..06c14c10
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,28 @@
+name: test
+on:
+ push:
+ branches:
+ - master
+ tags:
+ - "*"
+ pull_request:
+ branches:
+ - master
+jobs:
+ test:
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - { os: ubuntu-20.04, platform: linux-x64 }
+ - { os: macos-latest, platform: darwin-x64 }
+ - { os: macos-latest, platform: darwin-arm64 }
+ - { os: windows-latest, platform: win32-ia32 }
+ - { os: windows-latest, platform: win32-x64 }
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ - uses: actboy168/setup-luamake@master
+ - run: luamake -platform ${{ matrix.platform }}