Skip to content

Commit

Permalink
Fix version for alpine build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 22, 2021
1 parent e32ed21 commit e9fae4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [ 'centos-8', 'debian-10', 'alpine', 'debian-10-arm' ]
distro: [ 'centos-8', 'debian-10', 'debian-10-arm' ]
version: [ '8.3.110.13', '9.6.180.12' ]
include:
- distro: 'gcc-4.9'
version: '6.8.275.32'
- distro: 'gcc-4.8'
version: '6.8.275.32'
- distro: 'alpine'
version: '9.6.180.12'

steps:
- name: checkout
Expand Down
10 changes: 6 additions & 4 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG GN_COMMIT=0153d369bbccc908f4da4993b1ba82728055926a
# STEP 1
# Build GN for alpine
FROM alpine:3.12 as gn-builder
ARG GN_COMMIT
RUN \
apk add --update --virtual .gn-build-dependencies alpine-sdk binutils-gold clang curl git llvm9 ninja python3 tar xz && \
PATH=$PATH:/usr/lib/llvm9/bin && \
Expand All @@ -23,7 +24,7 @@ RUN \
# Use depot_tools to fetch the V8 source and dependencies
# This requires glibc so we use debian tools
FROM debian:10 as source

ARG v8_version
RUN \
set -x && \
apt-get update && \
Expand All @@ -33,8 +34,8 @@ RUN \
cd /tmp && \
fetch v8 && \
cd /tmp/v8 && \
git checkout ${v8_version} && \
gclient sync && \
gclient sync -D --force --reset && \
gclient sync --revision ${v8_version} && \
apt-get remove --purge -y git curl python3 && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
Expand All @@ -55,9 +56,10 @@ RUN \
target_cpu=\"x64\" \
v8_target_cpu=\"x64\" \
v8_enable_future=true \
is_official_build=true \
is_official_build=false \
is_cfi=false \
is_clang=false \
is_debug=false \
use_custom_libcxx=false \
use_sysroot=false \
use_gold=false \
Expand Down

0 comments on commit e9fae4c

Please sign in to comment.