From 63d11746f47fd332c6e062970efad3d258afd0ec Mon Sep 17 00:00:00 2001 From: Romain Malmain Date: Sat, 6 Apr 2024 22:07:18 +0200 Subject: [PATCH] Adapt github workflow. --- .dockerignore | 1 + .github/workflows/main.yml | 24 +++++++++++------------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.dockerignore b/.dockerignore index 378eac25d3..6b2ffc3094 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ build +.git \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c2a1d3fb0..1b06c6fc07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,11 @@ -on: - workflow_dispatch: - push: - pull_request: - -jobs: - build-and-test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: git submodule update --init --recursive subprojects/symcc-rt - - run: docker build -t symcc symcc - - run: docker build -t symqemu . +on: + workflow_dispatch: + push: + pull_request: +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: git submodule update --init --recursive subprojects/symcc-rt + - run: docker build -t symqemu .