remove cache and git installation
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 6m36s

This commit is contained in:
Emil Lerch 2023-08-25 17:41:01 -07:00
parent 633ccac42d
commit 35eec03142
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -11,7 +11,6 @@ jobs:
env: env:
ZIG_VERSION: 0.11.0 ZIG_VERSION: 0.11.0
ARCH: x86_64 ARCH: x86_64
GLOBAL_CACHE: "--global-cache-dir ${{ github.workspace }}/zig-global-cache"
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -23,7 +22,6 @@ jobs:
- run: wget -q https://ziglang.org/download/${ZIG_VERSION}/zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz - run: wget -q https://ziglang.org/download/${ZIG_VERSION}/zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz
- run: tar x -C /usr/local -f zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz - run: tar x -C /usr/local -f zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz
- run: ln -s /usr/local/zig-linux-${ARCH}-${ZIG_VERSION}/zig /usr/local/bin/zig - run: ln -s /usr/local/zig-linux-${ARCH}-${ZIG_VERSION}/zig /usr/local/bin/zig
- run: apt update && apt install --no-install-recommends git
- run: zig build test --verbose - run: zig build test --verbose
- run: zig build --verbose -Dtarget=arm-linux - run: zig build --verbose -Dtarget=arm-linux
- run: zig build -Dtarget=x86_64-windows - run: zig build -Dtarget=x86_64-windows