-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed41ada
commit e55e375
Showing
3 changed files
with
3 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,15 +79,6 @@ jobs: | |
with: | ||
version: "v0.4.0" | ||
|
||
- name: Windows Pagefile | ||
if: matrix.os == 'windows' | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 2GB | ||
maximum-size: 6GB | ||
disk-root: "D:" # This is also the checkout directory. Total size 12GB. | ||
continue-on-error: true | ||
|
||
- name: Extra envs | ||
# This has to come after msvc-dev-cmd to overwrite the bad VCPKG_ROOT it sets | ||
run: | | ||
|
@@ -110,31 +101,10 @@ jobs: | |
du -m /mnt/usr/local/lib/ | sort -n | tail -n 50 | ||
nohup rm -rf /mnt/usr/local/lib/android & | ||
- name: Find and remove ccache # See PR: #945 | ||
if: matrix.os == 'windows' | ||
run: rm $(which ccache) || true | ||
|
||
- name: Prepare C++ compilation env | ||
if: inputs.job_type != 'build-python-wheels' | ||
run: . build_tooling/prep_cpp_build.sh # Also applies to Windows | ||
|
||
# When a GitHub Windows image gets update the MSVC compiler also can get updated. New compilers can have compilation errors in Arctic or in the VCPKG dependencies. | ||
# We needd to pin a particular MSVC so that runner updates don't affect us. | ||
# When the MSVC version is update custom-triplets/x64-windows-static-msvc.cmake must also be updated with the correct toolsed version. | ||
- name: Install Required MSVC | ||
if: matrix.os == 'windows' | ||
run: | | ||
choco install -y -f visualstudio2022buildtools --version=117.11.4 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/390666095_1317821361/channel" | ||
choco install -y ninja | ||
- name: Enable Windows compiler commands | ||
if: matrix.os == 'windows' | ||
uses: TheMrMilchmann/setup-msvc-dev@v3 | ||
with: | ||
arch: x64 | ||
toolset: 14.41 | ||
vs-path: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools' | ||
|
||
- name: CMake compile | ||
if: inputs.job_type != 'build-python-wheels' | ||
# We are pinning the version to 10.6 because >= 10.7, use node20 which is not supported in the container | ||
|
@@ -295,21 +265,6 @@ jobs: | |
if: matrix.os == 'linux' | ||
run: echo /opt/python/${{env.python_impl_name}}*/bin >> $GITHUB_PATH | ||
|
||
- name: Select Python (Windows) | ||
if: matrix.os == 'windows' | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.${{inputs.python3}}" | ||
|
||
- name: Windows Pagefile | ||
if: matrix.os == 'windows' | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 2GB | ||
maximum-size: 8GB | ||
disk-root: "D:" # This is also the checkout directory. Total size 12GB. | ||
continue-on-error: true | ||
|
||
- name: Install npm # Linux github runner image does not come with npm | ||
if: matrix.os == 'linux' | ||
uses: actions/[email protected] | ||
|
@@ -355,13 +310,6 @@ jobs: | |
HYPOTHESIS_PROFILE: ci_${{matrix.os}} | ||
PYTEST_XDIST_MODE: ${{inputs.pytest_xdist_mode}} | ||
|
||
- name: Collect crash dumps (Windows) | ||
if: matrix.os == 'windows' && failure() | ||
uses: actions/[email protected] | ||
with: | ||
name: crashdump-${{env.distinguishing_name}} | ||
path: ${{env.LOCALAPPDATA}}/CrashDumps/ | ||
|
||
- name: Disk usage | ||
if: always() | ||
run: set +e ; du -m . "${PARALLEL_TEST_ROOT:-/tmp/parallel_test}" | sort -n | tail -n 100 || true; df -h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,12 +44,6 @@ jobs: | |
if: matrix.os == 'linux' | ||
run: echo /opt/python/${{env.python_impl_name}}*/bin >> $GITHUB_PATH | ||
|
||
- name: Select Python (Windows) | ||
if: matrix.os == 'windows' | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.${{inputs.python3}}" | ||
|
||
- name: Install latest release | ||
if: inputs.arcticdb_version == 'latest' | ||
run: | | ||
|