mirror of
https://github.com/YohannDR/mzm.git
synced 2024-11-23 04:59:40 +00:00
Edited docker file
This commit is contained in:
parent
454d17a6f4
commit
77af3f3853
@ -12,11 +12,25 @@ RUN apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
make
|
||||
|
||||
# Install dotnet
|
||||
RUN apt-get update; \
|
||||
apt-get install -y apt-transport-https && \
|
||||
apt-get update && \
|
||||
apt-get install -y dotnet-sdk-6.0
|
||||
|
||||
# Build agbcc
|
||||
RUN git clone https://github.com/pret/agbcc /opt/agbcc
|
||||
WORKDIR /opt/agbcc
|
||||
RUN git checkout faa413e # version from 2022-01-26
|
||||
RUN ./build.sh
|
||||
|
||||
# Download and build extractor
|
||||
RUN git clone https://github.com/YohannDR/MZM-Extractor /opt/MZM-Extractor
|
||||
WORKDIR /opt/MZM-Extractor/MZM-Extractor/MZM-Extractor
|
||||
# Compile
|
||||
RUN dotnet publish -c release --self-contained --runtime linux-x64 --framework net6.0
|
||||
# Copy to repo
|
||||
RUN cp -r bin/release/net6.0/linux-x64/publish ../../../mzm/MZM-Extractor
|
||||
|
||||
# Add agbcc to PATH
|
||||
ENV PATH="/opt/agbcc:${PATH}"
|
||||
|
@ -9,6 +9,7 @@ task:
|
||||
- git clone https://${GITHUB_USER}:${GITHUB_PAT}@github.com/${BASEROM_REPO}.git /tmp/baseroms
|
||||
- cp /tmp/baseroms/* .
|
||||
build_script:
|
||||
- make extract
|
||||
- make CPP=cpp -j
|
||||
test_script:
|
||||
- make check
|
||||
|
Loading…
Reference in New Issue
Block a user