mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Debug WIP: Reusable workflows
This commit is contained in:
parent
9c3c881587
commit
bd960d6640
3 changed files with 58 additions and 24 deletions
27
.github/workflows/benchmark-cachegrind.yml
vendored
27
.github/workflows/benchmark-cachegrind.yml
vendored
|
@ -29,22 +29,25 @@ jobs:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: "./.github/workflows/setup-luau"
|
||||||
with:
|
with:
|
||||||
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
runsOn: ${{ matrix.os }}
|
||||||
|
# - uses: actions/checkout@v3
|
||||||
|
# with:
|
||||||
|
# token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: Build Luau
|
# - name: Build Luau
|
||||||
run: make config=release luau luau-analyze
|
# run: make config=release luau luau-analyze
|
||||||
|
|
||||||
- uses: actions/setup-python@v3
|
# - uses: actions/setup-python@v3
|
||||||
with:
|
# with:
|
||||||
python-version: "3.9"
|
# python-version: "3.9"
|
||||||
architecture: "x64"
|
# architecture: "x64"
|
||||||
|
|
||||||
- name: Install python dependencies
|
# - name: Install python dependencies
|
||||||
run: |
|
# run: |
|
||||||
python -m pip install requests
|
# python -m pip install requests
|
||||||
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
# python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
||||||
|
|
||||||
- name: Install valgrind
|
- name: Install valgrind
|
||||||
run: |
|
run: |
|
||||||
|
|
27
.github/workflows/benchmark.yml
vendored
27
.github/workflows/benchmark.yml
vendored
|
@ -29,20 +29,23 @@ jobs:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: "./.github/workflows/setup-luau"
|
||||||
|
|
||||||
- name: Build Luau
|
|
||||||
run: make config=release luau luau-analyze
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v3
|
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
runsOn: ${{ matrix.os }}
|
||||||
architecture: "x64"
|
# - uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install python dependencies
|
# - name: Build Luau
|
||||||
run: |
|
# run: make config=release luau luau-analyze
|
||||||
python -m pip install requests
|
|
||||||
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
# - uses: actions/setup-python@v3
|
||||||
|
# with:
|
||||||
|
# python-version: "3.9"
|
||||||
|
# architecture: "x64"
|
||||||
|
|
||||||
|
# - name: Install python dependencies
|
||||||
|
# run: |
|
||||||
|
# python -m pip install requests
|
||||||
|
# python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
||||||
|
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
run: |
|
run: |
|
||||||
|
|
28
.github/workflows/setup-luau.yml
vendored
Normal file
28
.github/workflows/setup-luau.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Setup Luau
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
runsOn:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup-luau:
|
||||||
|
name: Setup Luau
|
||||||
|
runs-on: ${{ inputs.runsOn }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Build Luau
|
||||||
|
run: make config=release luau luau-analyze
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v3
|
||||||
|
with:
|
||||||
|
python-version: "3.9"
|
||||||
|
architecture: "x64"
|
||||||
|
|
||||||
|
- name: Install python dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install requests
|
||||||
|
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
Loading…
Add table
Reference in a new issue