Update CI

This commit is contained in:
Julian Ospald 2022-12-18 21:52:51 +08:00
parent a7e6e7c27d
commit ae092de4b6
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
4 changed files with 10 additions and 9 deletions

View File

@ -41,7 +41,8 @@ jobs:
- uses: docker://arm64v8/ubuntu:focal
name: Cleanup
with:
args: rm -rf .ghcup/
args: rm -rf .ghcup/ cabal/ dist-newstyle/ out/
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx

View File

@ -13,8 +13,8 @@ on:
- cron: '0 2 * * *'
jobs:
build-alpine:
name: Build static linux binary
build-linux:
name: Build linux binary
runs-on: ${{ matrix.os }}
env:
CABAL_VER: 3.6.2.0
@ -203,9 +203,9 @@ jobs:
./out/*
test-alpine:
test-linux:
name: Test linux
needs: "build-alpine"
needs: "build-linux"
runs-on: ${{ matrix.os }}
env:
CABAL_VER: 3.6.2.0
@ -379,7 +379,7 @@ jobs:
HOMEBREW_CHANGE_ARCH_TO_ARM: 1
hls:
name: hls
needs: build-alpine
needs: build-linux
runs-on: ubuntu-latest
env:
GHC_VERSION: "8.10.7"
@ -410,7 +410,7 @@ jobs:
release:
name: release
needs: ["test-alpine", "test-arm", "test-macwin", "hls"]
needs: ["test-linux", "test-arm", "test-macwin", "hls"]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:

View File

@ -23,7 +23,7 @@ RUN apt-get update && \
openssh-client \
xz-utils \
zlib1g-dev \
libnuma-dev libgmp10 libssl-dev liblzma-dev libbz2-dev wget lsb-release software-properties-common apt-transport-https gcc autoconf automake build-essential gzip \
libnuma-dev libgmp10 libssl-dev liblzma-dev libbz2-dev wget lsb-release software-properties-common apt-transport-https gcc autoconf automake build-essential gzip patchelf tree \
llvm-9 clang-9 && \
rm -rf /var/lib/apt/lists/*

View File

@ -23,7 +23,7 @@ RUN apt-get update && \
openssh-client \
xz-utils \
zlib1g-dev \
libnuma-dev libgmp10 libssl-dev liblzma-dev libbz2-dev wget lsb-release software-properties-common apt-transport-https gcc autoconf automake build-essential gzip \
libnuma-dev libgmp10 libssl-dev liblzma-dev libbz2-dev wget lsb-release software-properties-common apt-transport-https gcc autoconf automake build-essential gzip patchelf tree \
llvm-9 clang-9 && \
rm -rf /var/lib/apt/lists/*