|
55 | 55 | ccache-dir: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
|
56 | 56 |
|
57 | 57 | steps:
|
58 |
| - # - name: Set Perl environment variables |
59 |
| - # if: runner.os == 'Windows' |
60 |
| - # run: | |
61 |
| - # echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
62 |
| - # echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
63 |
| - # perl -MCPAN -e "install Locale::Maketext::Simple" |
64 |
| - - name: Setup Perl |
65 |
| - if: runner.os == 'Windows' |
66 |
| - uses: shogo82148/actions-setup-perl@v1 |
67 |
| - with: |
68 |
| - perl-version: "5.38" |
69 |
| - distribution: strawberry |
70 | 58 | # - name: perl -V
|
71 | 59 | # run: perl -V
|
72 | 60 | # - name: Ensure we have a working toolchain
|
|
83 | 71 | with:
|
84 | 72 | submodules: recursive
|
85 | 73 |
|
| 74 | + - name: Setup Perl |
| 75 | + if: runner.os == 'Windows' |
| 76 | + uses: shogo82148/actions-setup-perl@v1 |
| 77 | + with: |
| 78 | + perl-version: "5.38" |
| 79 | + distribution: strawberry |
| 80 | + |
| 81 | + - name: Set Perl environment variables |
| 82 | + if: runner.os == 'Windows' |
| 83 | + run: | |
| 84 | + echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
| 85 | + # echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
| 86 | + cd engine |
| 87 | + cmake -S ./third-party -B ./build_deps |
| 88 | + cmake --build ./build_deps --config Release -j4 |
| 89 | +
|
86 | 90 | - name: use python
|
87 | 91 | continue-on-error: true
|
88 | 92 | uses: actions/setup-python@v5
|
@@ -125,16 +129,16 @@ jobs:
|
125 | 129 | - name: Build
|
126 | 130 | if: runner.os != 'Linux'
|
127 | 131 | run: |
|
128 |
| - echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
129 |
| - echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
| 132 | + # echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
| 133 | + # echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |
130 | 134 | cd engine
|
131 |
| - cmake -S ./third-party -B ./build_deps |
132 |
| - cmake --build ./build_deps --config Release -j4 |
133 |
| - # make build CMAKE_EXTRA_FLAGS="${{ matrix.cmake-flags }}" BUILD_DEPS_CMAKE_EXTRA_FLAGS="${{ matrix.build-deps-cmake-flags }}" |
134 |
| - mkdir -p build |
135 |
| - cd build |
136 |
| - cmake .. ${{ matrix.cmake-flags }} |
137 |
| - cmake --build . --config Release -j4 |
| 135 | + # cmake -S ./third-party -B ./build_deps |
| 136 | + # cmake --build ./build_deps --config Release -j4 |
| 137 | + make build CMAKE_EXTRA_FLAGS="${{ matrix.cmake-flags }}" BUILD_DEPS_CMAKE_EXTRA_FLAGS="${{ matrix.build-deps-cmake-flags }}" |
| 138 | + # mkdir -p build |
| 139 | + # cd build |
| 140 | + # cmake .. ${{ matrix.cmake-flags }} |
| 141 | + # cmake --build . --config Release -j4 |
138 | 142 |
|
139 | 143 | - name: Build
|
140 | 144 | if: runner.os == 'Linux'
|
|
0 commit comments