From 5c355342c945deeaaf71148b22a51d3aca3dab6e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 17 Jan 2024 10:42:43 -0500 Subject: [PATCH] wip --- .github/workflows/ci.yml | 2 +- .github/workflows/testci.yml | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/testci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b719239..1f4abf75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,7 +135,7 @@ jobs: - name: Build skopeo run: cd skopeo && make bin/skopeo PREFIX=/usr - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: skopeo-ubuntu path: skopeo/bin/skopeo diff --git a/.github/workflows/testci.yml b/.github/workflows/testci.yml new file mode 100644 index 00000000..4b8de5c2 --- /dev/null +++ b/.github/workflows/testci.yml @@ -0,0 +1,37 @@ +name: testci + +permissions: + actions: read + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: {} + +env: + CARGO_TERM_COLOR: always + +jobs: + build-skopeo-ubuntu: + name: "Build skopeo git main for ubuntu" + runs-on: ubuntu-latest + steps: + - name: Build skopeo + run: mkdir -p skopeo/bin && echo newskopeo > skopeo/bin/skopeo + - name: Upload binary + uses: actions/upload-artifact@v4 + with: + name: skopeo-ubuntu + path: skopeo/bin/skopeo + privtest-alongside: + name: "Test install-alongside" + needs: build-skopeo-ubuntu + runs-on: ubuntu-latest + steps: + - name: Download + uses: actions/download-artifact@v3 + with: + name: skopeo-ubuntu + - run: ls -l