diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test.yml | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1dbfe2e..66640e50 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: if: ${{ matrix.target == 'linux' && matrix.libc == 'musl' }} run: | apk update - apk add git ninja bash build-base nodejs + apk add git ninja bash build-base nodejs linux-headers - uses: actions/checkout@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..7414d190 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: test +on: [ push, pull_request ] +jobs: + test: + strategy: + fail-fast: false + matrix: + include: + - { os: ubuntu-20.04, platform: linux-x64 } + - { os: macos-latest, platform: darwin-x64 } + - { 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 }} |