Skip to content

Commit 7c6385f

Browse files
authored
Merge pull request #74 from luigi311/ci_build_tanoshi_container
CI: Use tanoshi-builder for build-tanoshi
2 parents 1962474 + 7def348 commit 7c6385f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ jobs:
312312
runs-on: ${{ matrix.os }}
313313
needs:
314314
- build-web
315+
container:
316+
image: ghcr.io/luigi311/tanoshi-builder:sha-4cf682e
315317
strategy:
316318
fail-fast: false
317319
matrix:
@@ -332,23 +334,11 @@ jobs:
332334
with:
333335
name: tanoshi-web
334336
path: crates/tanoshi-web/dist
335-
336-
- uses: actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8
337337

338338
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
339339
with:
340340
key: "${{ matrix.type }}-${{ matrix.arch }}"
341341

342-
- name: Install deps
343-
run: sudo apt update && sudo apt upgrade -y && sudo apt install -y $UBUNTU_DEPS
344-
345-
- uses: ilammy/setup-nasm@72793074d3c8cdda771dba85f6deafe00623038b
346-
347-
- name: Install LLVM and Clang
348-
uses: KyleMayes/install-llvm-action@a7a1a882e2d06ebe05d5bb97c3e1f8c984ae96fc
349-
with:
350-
version: ${{ env.LLVM_VERSION }}
351-
352342
- name: Build tanoshi
353343
shell: bash
354344
env:

0 commit comments

Comments
 (0)