From 1035f102c90278fd1111e47ad9517117e520c7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 10 Nov 2020 23:47:17 -0300 Subject: [PATCH] Improve package installation step in CI. XBPS doesn't update itself by default. --- .github/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c569b13..fa065e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,9 @@ jobs: - name: Checkout uses: actions/checkout@v1 - name: Install packages - run: xbps-install -Sy gcc make bearssl-devel + run: | + xbps-install -Syu || xbps-install -yu xbps + xbps-install -y gcc make bearssl-devel - name: Build and run tests run: ci/run.sh clang-glibc: @@ -16,7 +18,9 @@ jobs: container: voidlinux/voidlinux steps: - uses: actions/checkout@v1 - - run: xbps-install -Sy clang make bearssl-devel + - run: | + xbps-install -Syu || xbps-install -yu xbps + xbps-install -y clang make bearssl-devel - run: CC=clang ci/run.sh clang-musl-meson: runs-on: ubuntu-latest