Skip to content

Commit 525e923

Browse files
authored
Merge pull request #5227 from sellout/deduplication
2 parents 1337ac2 + 960f7d1 commit 525e923

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

.github/workflows/ci.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,8 @@ At a high level, the CI process is:
66
3. On all platforms, build the `unison-runtime` Racket program save the resulting binaries as build artifacts.
77

88
### `env` vars at the top of `CI.yaml`:
9-
Some version numbers that are used during CI:
10-
- `ormolu_version: "0.5.0.1"`
11-
- `racket_version: "8.7"`
12-
- `jit_version: "@unison/internal/releases/0.0.18"`
13-
14-
Some cached directories:
15-
- `ucm_local_bin` a temp path for caching a built `ucm`
16-
- `jit_src_scheme` a temp path for caching generated jit sources
17-
- `unison-jit-dist`
18-
- `base-codebase` a codebase path for caching a codebase generated by `unison-src/builtin-tests/base.md`
19-
- `unison_src_test_results` a temp path for caching the result of passing tests that depend on `unison-src/`, which includes:
20-
- `round-trip-tests`
21-
- `transcripts`
22-
- `unison-src/builtin-tests/interpreter-tests.md`
239

24-
`jit_generator_os: ubuntu-20.04`
25-
- afaik, the jit sources are generated in a platform-independent way, so we just choose one platform to generate them on.
10+
These variables pin some dependency versions, set up some directories to cache, etc. Please see the `env` section in [ci.yaml](./ci.yaml) for specifics.
2611

2712
### Cached directories:
2813

.github/workflows/ci.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,26 @@ on:
1212
workflow_dispatch:
1313

1414
env:
15-
ormolu_version: 0.5.2.0
16-
ucm_local_bin: ucm-local-bin
15+
## Some version numbers that are used during CI
16+
ormolu_version: 0.7.2.0
1717
jit_version: "@unison/internal/releases/0.0.18"
18+
runtime_tests_version: "@unison/runtime-tests/main"
19+
20+
## Some cached directories
21+
# a temp path for caching a built `ucm`
22+
ucm_local_bin: ucm-local-bin
23+
# a temp path for caching generated jit sources
1824
jit_src_scheme: unison-jit-src/scheme-libs/racket
1925
jit_dist: unison-jit-dist
20-
jit_generator_os: ubuntu-20.04
21-
runtime_tests_version: "@unison/runtime-tests/main"
26+
# a codebase path for caching a codebase generated by `unison-src/builtin-tests/interpreter-tests.md`
2227
runtime_tests_codebase: "~/.cache/unisonlanguage/runtime-tests.unison"
23-
2428
# locations of some files that will indicate whether we need to re-run certain steps
2529
transcript_test_results: transcript-test-results
2630
interpreter_test_results: interpreter-test-results
2731

32+
## afaik, the jit sources are generated in a platform-independent way, so we choose one platform to generate them on.
33+
jit_generator_os: ubuntu-20.04
34+
2835
jobs:
2936
ormolu:
3037
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)