Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor committed Nov 27, 2024
1 parent 2ff027d commit d6d1cdc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/docker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
inputs:
message:
description: 'Test docker running'
description: 'Build as described in README.md'
push:
branches:
- 'tudor/feat-docker-action'

jobs:
run_container:
readmemd_build:
runs-on: ubuntu-latest
services:
docker:
Expand All @@ -19,17 +19,20 @@ jobs:
ports:
- 2375:2375
container:
image: ubuntu:latest
image: node:20
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Docker
run: |
apt-get update
apt-get install -y docker.io
apt-get install -y docker.io git wget
- name: Test Docker
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Build all
run: |
docker version
docker info
pnpm install
pnpm build:all
14 changes: 7 additions & 7 deletions cibuild/build-with-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ docker run \
-e OBJDUMP=${OBJDUMP:-true} \
-e SDK_ARCHIVE \
-e WASI_SDK_ARCHIVE \
-v ./cibuild.sh:/workspace/cibuild.sh:rw \
-v ./.buildconfig:/workspace/.buildconfig:rw \
-v ./extra:/workspace/extra:rw \
-v ./cibuild:/workspace/cibuild:rw \
-v ./patches:/opt/patches:rw \
-v ./tests:/workspace/tests:rw \
-v ./packages/pglite:/workspace/packages/pglite:rw \
-v "/$(pwd)/cibuild.sh:/workspace/cibuild.sh:rw" \
-v "/$(pwd)/.buildconfig:/workspace/.buildconfig:rw" \
-v "/$(pwd)/extra:/workspace/extra:rw" \
-v "/$(pwd)/cibuild:/workspace/cibuild:rw" \
-v "/$(pwd)/patches:/opt/patches:rw" \
-v "/$(pwd)/tests:/workspace/tests:rw" \
-v "/$(pwd)/packages/pglite:/workspace/packages/pglite:rw" \
$IMG_NAME:$IMG_TAG \
bash ./cibuild/build-all.sh

0 comments on commit d6d1cdc

Please sign in to comment.