move to using a custom docker image instead of trying to manage the dependencies ourselves

This commit is contained in:
Quinn
2025-04-07 23:39:30 +02:00
committed by Quinn
parent 4c0f0a5aa9
commit 417c110187

View File

@@ -14,6 +14,9 @@ on:
jobs: jobs:
compile: compile:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ghcr.io/thepigeongenerator/crust_tools:latest
needs: install-deps
strategy: strategy:
matrix: matrix:
arch: arch:
@@ -22,17 +25,7 @@ jobs:
env: env:
OUT: ${{github.workspace}}/mcaselector-lite-${{matrix.arch}}-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip OUT: ${{github.workspace}}/mcaselector-lite-${{matrix.arch}}-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip
steps: steps:
- uses: actions/checkout@v4 # clone the repo - uses: actions/checkout@latest
# install tool chains
- name: install dependencies
run: |
apt update
apt install clang zip -y
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
# compile the binary
- run: make compile ARCH=${{matrix.arch}} - run: make compile ARCH=${{matrix.arch}}
- name: compress binary information - name: compress binary information
run: | run: |