-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: switch to Github managed M1 runners that are in beta now #13
Changes from all commits
79a52a0
5adb296
a5b8db9
bb5f944
b1b4573
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
ARG BASE_IMAGE | ||
FROM ${BASE_IMAGE:-library/debian:9.6-slim} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
FROM ${BASE_IMAGE:-library/debian:11.7-slim} | ||
|
||
ARG QEMU_ARCH | ||
ENV QEMU_ARCH=${QEMU_ARCH:-x86_64} | ||
|
||
COPY .prebuild/qemu/qemu-${QEMU_ARCH}-static /usr/bin/ | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y gcc g++ make python curl | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
&& apt-get install -y gcc g++ make python3 curl | ||
|
||
RUN [ "$(uname -m)" = "x86_64" ] && apt-get install -y g++-multilib gcc-multilib || echo "ok" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Source: https://github.com/NorthernMan54/node-pty-prebuilt-multiarch/blob/401d14756196d24dabeadc7b55cff28dfea68d4d/.prebuild/qemu/README.md | ||
|
||
These are copied from https://github.com/multiarch/qemu-user-static/releases/ | ||
|
||
Current release - qemu-*-static @ 7.2.0-1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,19 +8,19 @@ export DOCKERFILE="Dockerfile.debian" | |
docker build -f .prebuild/$DOCKERFILE --build-arg BASE_IMAGE=${BASE_IMAGE} --build-arg QEMU_ARCH=${QEMU_ARCH} -t multiarch-build . | ||
docker run --rm -v $(pwd):/node-pty multiarch-build | ||
|
||
export BASE_IMAGE=library/debian:9.6-slim | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
export BASE_IMAGE=library/debian:11.7-slim | ||
export QEMU_ARCH=x86_64 | ||
export DOCKERFILE="Dockerfile.debian" | ||
docker build -f .prebuild/$DOCKERFILE --build-arg BASE_IMAGE=${BASE_IMAGE} --build-arg QEMU_ARCH=${QEMU_ARCH} -t multiarch-build . | ||
docker run --rm -v $(pwd):/node-pty multiarch-build | ||
|
||
export BASE_IMAGE=i386/debian:9.6-slim | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
export BASE_IMAGE=i386/debian:11.7-slim | ||
export QEMU_ARCH=i386 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
export DOCKERFILE="Dockerfile.debian" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
docker build -f .prebuild/$DOCKERFILE --build-arg BASE_IMAGE=${BASE_IMAGE} --build-arg QEMU_ARCH=${QEMU_ARCH} -t multiarch-build . | ||
docker run --rm -v $(pwd):/node-pty multiarch-build | ||
|
||
export BASE_IMAGE=arm64v8/debian:9.6-slim | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
export BASE_IMAGE=arm64v8/debian:11.7-slim | ||
export QEMU_ARCH=aarch64 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
export DOCKERFILE="Dockerfile.debian" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. .github/workflows/release.yml |
||
docker build -f .prebuild/$DOCKERFILE --build-arg BASE_IMAGE=${BASE_IMAGE} --build-arg QEMU_ARCH=${QEMU_ARCH} -t multiarch-build . | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/release.yml