Skip to content

Commit

Permalink
ci: bump switch homebrew container version
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWitch authored and Akaricchi committed Dec 24, 2022
1 parent ebaff59 commit 2f2100a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -268,7 +268,7 @@ jobs:
name: Switch (ARM64)
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04
container: taiseiproject/switch-toolkit:20210530
container: taiseiproject/switch-toolkit:20221218
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down
19 changes: 11 additions & 8 deletions misc/ci/Dockerfile.switch
Expand Up @@ -4,8 +4,9 @@ LABEL maintainer="Alice D. <alice@starwitch.productions>"

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get install -y --no-install-recommends \
RUN apt update && \
apt dist-upgrade -yqq && \
apt install -y --no-install-recommends \
apt-utils \
sudo \
ca-certificates \
Expand All @@ -23,26 +24,28 @@ RUN apt-get update && \
python3-docutils \
python3-pip \
gdebi-core \
apt-transport-https \
cmake && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*

RUN pip3 install \
meson==0.63.0 \
ninja \
zstandard \
python-gnupg

RUN wget https://github.com/devkitPro/pacman/releases/latest/download/devkitpro-pacman.amd64.deb && \
gdebi -n devkitpro-pacman.amd64.deb && \
rm devkitpro-pacman.amd64.deb && \
dkp-pacman -Scc --noconfirm

ENV DEVKITPRO=/opt/devkitpro
ENV PATH=${DEVKITPRO}/tools/bin:$PATH

RUN ln -s /proc/self/mounts /etc/mtab

RUN mkdir -p /usr/local/share/keyring/ && \
curl https://apt.devkitpro.org/devkitpro-pub.gpg -o /usr/local/share/keyring/devkitpro-pub.gpg && \
echo "deb [signed-by=/usr/local/share/keyring/devkitpro-pub.gpg] https://apt.devkitpro.org stable main" > /etc/apt/sources.list.d/devkitpro.list && \
apt update && \
apt install devkitpro-pacman -yqq

RUN dkp-pacman -Syyu --noconfirm \
switch-dev \
switch-portlibs \
Expand Down

0 comments on commit 2f2100a

Please sign in to comment.