From 41fd795fca84e12558e9d803fc84bb1008bc7abb Mon Sep 17 00:00:00 2001 From: Koichi Nakamura Date: Mon, 11 Jan 2021 14:39:22 +0900 Subject: [PATCH] Add workflows for each language --- .github/workflows/c.yaml | 13 +++++++++++++ .../{runtest.yml => i386-linux-handwrite.yml} | 4 ++-- .github/workflows/python.yaml | 13 +++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/c.yaml rename .github/workflows/{runtest.yml => i386-linux-handwrite.yml} (77%) create mode 100644 .github/workflows/python.yaml diff --git a/.github/workflows/c.yaml b/.github/workflows/c.yaml new file mode 100644 index 0000000..3945e93 --- /dev/null +++ b/.github/workflows/c.yaml @@ -0,0 +1,13 @@ +name: C + +on: + push: +jobs: + 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/runtest.yml b/.github/workflows/i386-linux-handwrite.yml similarity index 77% rename from .github/workflows/runtest.yml rename to .github/workflows/i386-linux-handwrite.yml index ef0f385..6e3cad0 100644 --- a/.github/workflows/runtest.yml +++ b/.github/workflows/i386-linux-handwrite.yml @@ -1,4 +1,4 @@ -name: run basic tests +name: i386-linux-handwrite on: push: @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: i386-linux handwrite + - name: run tests run: | make ./planck < bootstrap.fs runtests.fs diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml new file mode 100644 index 0000000..d04380a --- /dev/null +++ b/.github/workflows/python.yaml @@ -0,0 +1,13 @@ +name: python + +on: + push: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: run tests + run: | + make python + ./planck < bootstrap.fs runtests.fs