2020  OCAMLRUNPARAM : b 
2121
2222jobs :
23-   build-rewatch :
24-     strategy :
25-       fail-fast : false 
26-       matrix :
27-         include :
28-           - os : macos-13  #  x64
29-             rust-target : x86_64-apple-darwin 
30-           - os : macos-14  #  ARM
31-             rust-target : aarch64-apple-darwin 
32-           - os : ubuntu-latest  #  x64
33-             rust-target : x86_64-unknown-linux-musl 
34-           - os : buildjet-2vcpu-ubuntu-2204-arm  #  ARM
35-             rust-target : aarch64-unknown-linux-musl 
36-           - os : windows-latest 
37-             rust-target : x86_64-pc-windows-gnu 
38- 
39-     runs-on : ${{matrix.os}} 
40- 
41-     env :
42-       RUST_BACKTRACE : " 1" 
43- 
44-     steps :
45-       - name : Checkout 
46-         uses : actions/checkout@v4 
47- 
48-       - name : Restore build cache 
49-         id : build-cache 
50-         uses : actions/cache@v4 
51-         with :
52-           path : rewatch/target 
53-           key : rewatch-build-v2-${{ matrix.rust-target }}-${{ hashFiles('rewatch/src/**', 'rewatch/Cargo.lock') }} 
54- 
55-       - name : Install musl gcc 
56-         if : steps.build-cache.outputs.cache-hit != 'true' && runner.os == 'Linux' 
57-         run : sudo apt-get install -y --no-install-recommends musl-tools 
58- 
59-       - name : Install rust toolchain 
60-         if : steps.build-cache.outputs.cache-hit != 'true' 
61-         uses : dtolnay/rust-toolchain@master 
62-         with :
63-           toolchain : stable 
64-           targets : ${{matrix.rust-target}} 
65- 
66-       - name : Build rewatch 
67-         if : steps.build-cache.outputs.cache-hit != 'true' 
68-         run : cargo build --manifest-path rewatch/Cargo.toml --target ${{matrix.rust-target}} --release 
69- 
70-       - name : Copy rewatch exe to platform bin dir 
71-         run : | 
72-           cp rewatch/target/${{matrix.rust-target}}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }} rewatch 
73-           node ./scripts/copyExes.js -rewatch 
74- 
75-        - name : Get artifact dir name 
76-         run : node .github/workflows/get_artifact_dir_name.js 
77- 
78-       - name : " Upload artifact: rewatch binary" 
79-         uses : actions/upload-artifact@v4 
80-         with :
81-           name : rewatch-${{env.artifact_dir_name}} 
82-           path : ${{ env.artifact_dir_name }} 
23+   #   build-rewatch:
24+   #     strategy:
25+   #       fail-fast: false
26+   #       matrix:
27+   #         include:
28+   #           - os: macos-13 # x64
29+   #             rust-target: x86_64-apple-darwin
30+   #           - os: macos-14 # ARM
31+   #             rust-target: aarch64-apple-darwin
32+   #           - os: ubuntu-latest # x64
33+   #             rust-target: x86_64-unknown-linux-musl
34+   #           - os: buildjet-2vcpu-ubuntu-2204-arm # ARM
35+   #             rust-target: aarch64-unknown-linux-musl
36+   #           - os: windows-latest
37+   #             rust-target: x86_64-pc-windows-gnu
38+    # 
39+   #     runs-on: ${{matrix.os}}
40+    # 
41+   #     env:
42+   #       RUST_BACKTRACE: "1"
43+    # 
44+   #     steps:
45+   #       - name: Checkout
46+   #         uses: actions/checkout@v4
47+    # 
48+   #       - name: Restore build cache
49+   #         id: build-cache
50+   #         uses: actions/cache@v4
51+   #         with:
52+   #           path: rewatch/target
53+   #           key: rewatch-build-v2-${{ matrix.rust-target }}-${{ hashFiles('rewatch/src/**', 'rewatch/Cargo.lock') }}
54+    # 
55+   #       - name: Install musl gcc
56+   #         if: steps.build-cache.outputs.cache-hit != 'true' && runner.os == 'Linux'
57+   #         run: sudo apt-get install -y --no-install-recommends musl-tools
58+    # 
59+   #       - name: Install rust toolchain
60+   #         if: steps.build-cache.outputs.cache-hit != 'true'
61+   #         uses: dtolnay/rust-toolchain@master
62+   #         with:
63+   #           toolchain: stable
64+   #           targets: ${{matrix.rust-target}}
65+    # 
66+   #       - name: Build rewatch
67+   #         if: steps.build-cache.outputs.cache-hit != 'true'
68+   #         run: cargo build --manifest-path rewatch/Cargo.toml --target ${{matrix.rust-target}} --release
69+    # 
70+   #       - name: Copy rewatch exe to platform bin dir
71+   #         run: |
72+   #           cp rewatch/target/${{matrix.rust-target}}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }} rewatch
73+   #           node ./scripts/copyExes.js -rewatch
74+    # 
75+   #       - name: Get artifact dir name
76+   #         run: node .github/workflows/get_artifact_dir_name.js
77+    # 
78+   #       - name: "Upload artifact: rewatch binary"
79+   #         uses: actions/upload-artifact@v4
80+   #         with:
81+   #           name: rewatch-${{env.artifact_dir_name}}
82+   #           path: ${{ env.artifact_dir_name }}
8383
8484  build-compiler :
8585    strategy :
@@ -93,26 +93,26 @@ jobs:
9393            #  Build the playground compiler and run the benchmarks on the fastest runner
9494            build_playground : true 
9595            benchmarks : true 
96-           - os : buildjet-2vcpu-ubuntu-2204-arm  #  ARM
97-             ocaml_compiler : ocaml-variants.5.2.1+options,ocaml-option-static 
98-             upload_binaries : true 
99-           - os : macos-13  #  x64
100-             ocaml_compiler : 5.2.1 
101-             upload_binaries : true 
96+           #   - os: buildjet-2vcpu-ubuntu-2204-arm # ARM
97+           #     ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
98+           #     upload_binaries: true
99+           #   - os: macos-13 # x64
100+           #     ocaml_compiler: 5.2.1
101+           #     upload_binaries: true
102102          - os : macos-14  #  ARM
103103            ocaml_compiler : 5.2.1 
104104            upload_binaries : true 
105-           - os : windows-latest 
106-             ocaml_compiler : 5.2.1 
107-             upload_binaries : true 
105+           #   - os: windows-latest
106+           #     ocaml_compiler: 5.2.1
107+           #     upload_binaries: true
108108
109109          #  Verify that the compiler still builds with older OCaml versions
110110          - os : ubuntu-latest 
111111            ocaml_compiler : ocaml-variants.5.0.0+options,ocaml-option-static 
112-           - os : ubuntu-latest 
113-             ocaml_compiler : ocaml-variants.4.14.2+options,ocaml-option-static 
114-           - os : ubuntu-latest 
115-             ocaml_compiler : ocaml-variants.4.13.0+options,ocaml-option-static 
112+           #   - os: ubuntu-latest
113+           #     ocaml_compiler: ocaml-variants.4.14.2+options,ocaml-option-static
114+           #   - os: ubuntu-latest
115+           #     ocaml_compiler: ocaml-variants.4.13.0+options,ocaml-option-static
116116
117117    runs-on : ${{matrix.os}} 
118118
0 commit comments