diff options
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e9e71a..7cb3746 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,6 @@ name: Project build -on: - push: - branches: - - master +on: push jobs: build: @@ -14,6 +11,15 @@ jobs: - uses: actions/checkout@v1 - name: Install run: sudo apt-get update && sudo apt-get install -y build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libcloog-isl-dev libisl-0.18-dev ccache curl nasm genisoimage qemu qemu-kvm mtools + - name: Get cross compiler + id: cache-cross + uses: actions/cache@v1 + with: + path: cross + key: ${{ runner.os }}-cross + - name: Build cross compiler + if: steps.cache-cross.outputs.cache-hit != 'true' + run: sh run cross - name: Build run: sh run build - name: Test install |