jobs:
build:
-
runs-on: ubuntu-latest
-
+ if: "!contains(github.event.head_commit.message, '[skip ci]')"
+
steps:
- uses: actions/checkout@v1
name: Checkout
cp gwion ..
- uses: actions/cache@v1
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
name: Wren [ cache ]
id: wren
with:
key: ${{ runner.os }}-wren
- name: wren [ init ]
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
if: steps.wren.outputs.cache-hit != 'true'
run: |
git clone https://github.com/wren-lang/wren
make
- name: wren [ update ]
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
if: steps.wren.outputs.cache-hit == 'true'
run: |
cd wren
fi
- name: wren [ install ]
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
run: cp wren/bin/wren_test wren/bin/wren
- uses: actions/cache@v1
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
name: Lua [ cache ]
id: lua
with:
key: ${{ runner.os }}-lua
- name: Lua [ init ]
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
if: steps.lua.outputs.cache-hit != 'true'
run: |
git clone https://github.com/lua/lua
make
- name: Lua [ update ]
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
if: steps.lua.outputs.cache-hit == 'true'
run: |
cd lua
fi
- name: Benchmark
+ if: "!contains(github.event.head_commit.message, '[skip benchmark]')"
run: |
echo 1 | sudo tee /proc/sys/kernel/perf_event_paranoid
sudo apt-get update