Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
9acb122
1
Parent(s):
ee2d4ea
Update CI for docker, and test `arm64`
Browse files
.github/workflows/CI_docker.yml
CHANGED
@@ -30,13 +30,13 @@ jobs:
|
|
30 |
strategy:
|
31 |
matrix:
|
32 |
julia-version: ['1.8.2']
|
33 |
-
python-version: ['3.
|
34 |
os: [ubuntu-latest]
|
35 |
arch: ['linux/x86_64']
|
36 |
|
37 |
steps:
|
38 |
- uses: actions/checkout@v3
|
39 |
- name: Build docker
|
40 |
-
run: docker build
|
41 |
- name: Test docker
|
42 |
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test env'
|
|
|
30 |
strategy:
|
31 |
matrix:
|
32 |
julia-version: ['1.8.2']
|
33 |
+
python-version: ['3.10.8']
|
34 |
os: [ubuntu-latest]
|
35 |
arch: ['linux/x86_64']
|
36 |
|
37 |
steps:
|
38 |
- uses: actions/checkout@v3
|
39 |
- name: Build docker
|
40 |
+
run: docker build --platform=${{ matrix.arch }} -t pysr --build-arg JLVERSION=${{ matrix.julia-version }} --build-arg PYVERSION=${{ matrix.python-version }} .
|
41 |
- name: Test docker
|
42 |
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test env'
|
.github/workflows/CI_docker_large_nightly.yml
CHANGED
@@ -19,9 +19,9 @@ jobs:
|
|
19 |
fail-fast: false
|
20 |
matrix:
|
21 |
julia-version: ['1.8.2']
|
22 |
-
python-version: ['3.
|
23 |
os: [ubuntu-latest]
|
24 |
-
arch: ['linux/x86_64', 'linux/amd64']
|
25 |
|
26 |
steps:
|
27 |
- uses: actions/checkout@v3
|
@@ -30,6 +30,6 @@ jobs:
|
|
30 |
with:
|
31 |
platforms: all
|
32 |
- name: Build docker
|
33 |
-
run: docker build
|
34 |
- name: Test docker
|
35 |
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test env'
|
|
|
19 |
fail-fast: false
|
20 |
matrix:
|
21 |
julia-version: ['1.8.2']
|
22 |
+
python-version: ['3.10.8']
|
23 |
os: [ubuntu-latest]
|
24 |
+
arch: ['linux/x86_64', 'linux/amd64', 'linux/arm64']
|
25 |
|
26 |
steps:
|
27 |
- uses: actions/checkout@v3
|
|
|
30 |
with:
|
31 |
platforms: all
|
32 |
- name: Build docker
|
33 |
+
run: docker build --platform=${{ matrix.arch }} -t pysr --build-arg JLVERSION=${{ matrix.julia-version }} .
|
34 |
- name: Test docker
|
35 |
run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'python3 -m pysr.test main && python3 -m pysr.test env'
|