Install deps before checkout

This commit is contained in:
Luke Street 2023-05-29 11:09:52 -04:00
parent 4f8927d95c
commit 67d788ae4e
1 changed files with 7 additions and 6 deletions

View File

@ -21,16 +21,16 @@ jobs:
BUILDCACHE_DIR: ${{github.workspace}}/.buildcache BUILDCACHE_DIR: ${{github.workspace}}/.buildcache
steps: steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Install dependencies - name: Install dependencies
run: | run: |
apk add --no-cache git cmake ninja clang-dev clang-static llvm-dev llvm-static musl-dev \ apk add --no-cache git cmake ninja clang-dev clang-static llvm-dev llvm-static musl-dev \
gcc g++ libxml2-dev libxml2-static zlib-dev zlib-static gcc g++ libxml2-dev libxml2-static zlib-dev zlib-static
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Configure CMake - name: Configure CMake
run: | run: |
cmake -B build . -GNinja \ cmake -B build . -GNinja \
@ -55,7 +55,8 @@ jobs:
build-linux-aarch64: build-linux-aarch64:
name: Build Linux (GCC aarch64) name: Build Linux (GCC aarch64)
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
if: 'false'
env: env:
LLVM_MAJOR: 15 LLVM_MAJOR: 15