improve package installation for CI

This commit is contained in:
Daniel Micay 2022-03-11 22:03:25 -05:00
parent 8fd31e4bc1
commit 0d6d63cbe7

View File

@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: apk add build-base python3
run: apk update && apk add build-base python3
- name: Build
run: make test
build-ubuntu-gcc-aarch64:
@ -34,6 +34,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt install --no-install-recommends gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libgcc-s1-arm64-cross cpp-aarch64-linux-gnu
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libgcc-s1-arm64-cross cpp-aarch64-linux-gnu
- name: Build
run: CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-gcc++ make CONFIG_NATIVE=false