Skip to content

Commit 48685d0

Browse files
committed
[CI] Automatically create version-specific manifests
1 parent 63d5dc2 commit 48685d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps:
2525
mkdir -p "$OCEANANIGANS_DIR"
2626
rsync -a . "$OCEANANIGANS_DIR/"
2727
cd "$OCEANANIGANS_DIR"
28-
mv Manifest.toml Manifest-v1.12.toml
28+
touch Manifest-v$(echo "${JULIA_VERSION}" | cut -d. -f1-2).toml
2929
3030
julia +$JULIA_VERSION -O0 --color=yes --project -e 'using Pkg; Pkg.test()'
3131
retry:
@@ -43,6 +43,7 @@ steps:
4343
command: |
4444
juliaup add $JULIA_VERSION_ENZYME
4545
cd "$OCEANANIGANS_DIR"
46+
touch Manifest-v$(echo "${JULIA_VERSION_ENZYME}" | cut -d. -f1-2).toml
4647
4748
julia +$JULIA_VERSION_ENZYME -O0 --color=yes --project -e 'using Pkg; Pkg.test()'
4849
retry:
@@ -84,6 +85,7 @@ steps:
8485
8586
# Run tests
8687
cd "$OCEANANIGANS_DIR"
88+
touch Manifest-v$(echo "${JULIA_VERSION}" | cut -d. -f1-2).toml
8789
julia +$JULIA_VERSION -O0 --color=yes --project -e 'using Pkg; Pkg.test()'
8890
8991
matrix:
@@ -140,6 +142,7 @@ steps:
140142
141143
# Run tests
142144
cd "$OCEANANIGANS_DIR"
145+
touch Manifest-v$(echo "${JULIA_VERSION_ENZYME}" | cut -d. -f1-2).toml
143146
julia +$JULIA_VERSION_ENZYME -O0 --color=yes --project -e 'using Pkg; Pkg.test()'
144147
145148
matrix:

0 commit comments

Comments
 (0)