Skip to content

Commit 8aa2b1a

Browse files
committed
Try to build on macos
1 parent 836329a commit 8aa2b1a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/container-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build_and_test:
88
strategy:
99
matrix:
10-
os: [ubuntu-latest]
10+
os: [ubuntu-latest, macos-latest]
1111
builder: ["podman"]
1212
fail-fast: false
1313
runs-on: ${{ matrix.os }}
@@ -24,5 +24,5 @@ jobs:
2424
# sudo apt install -y podman
2525
- uses: actions/checkout@v4
2626
- name: Make on Unix
27-
run: ./container-build.py make -d fast
27+
run: python ./container-build.py make -d fast
2828

container-build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def runProcess(exe):
2222

2323

2424
parser = argparse.ArgumentParser(description='Build Sandstorm using an Ubuntu 20.04 Docker/OCI container')
25-
parser.add_argument("action", choices=["make", "prepare", "shell"], default="make", nargs="?")
26-
parser.add_argument('--container-builder', dest="container_builder", default='podman', help='Command you run for building container from command line')
27-
parser.add_argument('--container-runner', dest="container_runner", default='podman', help='Command you run for running container from command line')
25+
parser.add_argument("action", choices=["make", "prepare", "shell"], default="make", nargs="?", help='')
26+
parser.add_argument('--container-builder', dest="container_builder", default='podman', help='Command you run for building container from command line (Default: %(default))')
27+
parser.add_argument('--container-runner', dest="container_runner", default='podman', help='Command you run for running container from command line (Default: %(default))')
2828
parser.add_argument('args', nargs=argparse.REMAINDER)
2929

3030
args = parser.parse_args()

0 commit comments

Comments
 (0)