diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index 4e9f1a7..5afeff8 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -1,18 +1,21 @@ name: benchmark on: - push: + workflow_run: + workflows: ["i386-linux-handwritten", "C", "python"] + types: + - completed jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: take benchmarks - run: | - ./benchmark/gendoc.sh - - name: upload to wiki - uses: SwiftDocOrg/github-wiki-publish-action@v1 - with: - path: "documentation" - env: - GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: take benchmarks + run: | + ./benchmark/gendoc.sh + - name: upload to wiki + uses: SwiftDocOrg/github-wiki-publish-action@v1 + with: + path: "documentation" + env: + GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} diff --git a/.github/workflows/c.yaml b/.github/workflows/c.yaml index 3945e93..616a0fa 100644 --- a/.github/workflows/c.yaml +++ b/.github/workflows/c.yaml @@ -1,13 +1,13 @@ name: C on: - push: + push: jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: run tests - run: | - make c - ./planck < bootstrap.fs runtests.fs + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: run tests + run: | + make c + ./planck < bootstrap.fs runtests.fs diff --git a/.github/workflows/i386-linux-handwritten.yml b/.github/workflows/i386-linux-handwritten.yml index 6d2b725..f76729a 100644 --- a/.github/workflows/i386-linux-handwritten.yml +++ b/.github/workflows/i386-linux-handwritten.yml @@ -1,14 +1,14 @@ name: i386-linux-handwritten on: - push: + push: jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: run tests - run: | - make - ./planck < bootstrap.fs runtests.fs + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: run tests + run: | + make + ./planck < bootstrap.fs runtests.fs diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index d04380a..daf4d45 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -1,13 +1,13 @@ name: python on: - push: + push: jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: run tests - run: | - make python - ./planck < bootstrap.fs runtests.fs + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: run tests + run: | + make python + ./planck < bootstrap.fs runtests.fs