diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-08 11:54:17 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-08 11:54:17 +0100 |
commit | 5aef16309a43ccc52773449acf6bd1d273eaa5a8 (patch) | |
tree | 279ff4720e20329046df2d69e570d67106fec9fd /.github | |
parent | Makefile: remove obsolete recipes (diff) | |
download | cgitize-5aef16309a43ccc52773449acf6bd1d273eaa5a8.tar.gz cgitize-5aef16309a43ccc52773449acf6bd1d273eaa5a8.zip |
Makefile: fix make */build recipes
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f379d3..77ad7df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,29 @@ jobs: - name: Unit tests run: python -m unittest --buffer + build_docker: + runs-on: ubuntu-latest + name: 'Build / docker build' + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build w/ docker build + run: make docker/build + + build_buildx: + runs-on: ubuntu-latest + name: 'Build / docker buildx' + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build w/ docker buildx + run: | + make buildx/create + make buildx/build + make buildx/rm + test_docker: + needs: [test_local, build_docker, build_buildx] runs-on: ubuntu-latest name: 'Test / Docker' steps: @@ -46,7 +68,7 @@ jobs: run: sudo ./test/integration/docker/test.sh test_example_config: - needs: [test_local, test_docker] + needs: [test_local, build_docker, build_buildx] runs-on: ubuntu-latest name: 'Test / example config' env: |