mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 21:40:43 +00:00
2f7e1a2395
This reduces the load on GHA infra
35 lines
789 B
YAML
35 lines
789 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'papers/**'
|
|
- 'rfcs/**'
|
|
- '*.md'
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu, macos, windows]
|
|
name: ${{matrix.os}}
|
|
runs-on: ${{matrix.os}}-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: configure
|
|
run: cmake . -DCMAKE_BUILD_TYPE=Release
|
|
- name: build
|
|
run: cmake --build . --target Luau.Repl.CLI Luau.Analyze.CLI --config Release
|
|
- uses: actions/upload-artifact@v2
|
|
if: matrix.os != 'windows'
|
|
with:
|
|
name: luau-${{matrix.os}}
|
|
path: luau*
|
|
- uses: actions/upload-artifact@v2
|
|
if: matrix.os == 'windows'
|
|
with:
|
|
name: luau-${{matrix.os}}
|
|
path: Release\luau*.exe
|