From ea5f81254d28f2144f1c18d93760c6f120473c93 Mon Sep 17 00:00:00 2001 From: James Kessler Date: Sun, 29 Sep 2024 22:25:49 -0700 Subject: [PATCH] Try adding test jobs to build.yml workflow after build-linux job. --- .github/workflows/build.yml | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2070274..a5b8094 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,7 +156,42 @@ jobs: - name: List files in dist/ directory run: ls -la dist/ - release: + test-linux-x86_64: + runs-on: ubuntu-latest + needs: build-linux + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Download x86_64 binary + uses: actions/download-artifact@v4 + with: + name: coveralls-linux-x86_64 + path: ./binaries/ + + - name: Test x86_64 binary + run: ./binaries/coveralls-linux-x86_64 --version + + test-linux-aarch64: + runs-on: ubuntu-latest + needs: build-linux + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Download aarch64 binary + uses: actions/download-artifact@v4 + with: + name: coveralls-linux-aarch64 + path: ./binaries/ + + - name: Test aarch64 binary in QEMU + run: | + sudo apt-get update + sudo apt-get install -y qemu-user + qemu-aarch64 ./binaries/coveralls-linux-aarch64 --version + + release: runs-on: ubuntu-latest needs: [build-windows, build-linux] env: