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 }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: "./.github/workflows/setup-luau"
|
||||
with:
|
||||
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
||||
runsOn: ${{ matrix.os }}
|
||||
# - uses: actions/checkout@v3
|
||||
# with:
|
||||
# token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
|
||||
|
||||
- name: Build Luau
|
||||
run: make config=release luau luau-analyze
|
||||
# - name: Build Luau
|
||||
# run: make config=release luau luau-analyze
|
||||
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.9"
|
||||
architecture: "x64"
|
||||
# - 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: Install python dependencies
|
||||
# run: |
|
||||
# python -m pip install requests
|
||||
# python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
||||
|
||||
- name: Install valgrind
|
||||
run: |
|
||||
|
|
27
.github/workflows/benchmark.yml
vendored
27
.github/workflows/benchmark.yml
vendored
|
@ -29,20 +29,23 @@ jobs:
|
|||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build Luau
|
||||
run: make config=release luau luau-analyze
|
||||
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: "./.github/workflows/setup-luau"
|
||||
with:
|
||||
python-version: "3.9"
|
||||
architecture: "x64"
|
||||
runsOn: ${{ matrix.os }}
|
||||
# - uses: actions/checkout@v3
|
||||
|
||||
- name: Install python dependencies
|
||||
run: |
|
||||
python -m pip install requests
|
||||
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
|
||||
# - 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
|
||||
|
||||
- name: Run benchmark
|
||||
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