-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .cirun.yml to declare the OS configurations we want to use.
- Loading branch information
Showing
4 changed files
with
67 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
runners: | ||
- name: win11pro-23h2-x64-16 | ||
cloud: azure | ||
instance_type: Standard_F16s_v2 | ||
machine_image: "/subscriptions/fe7bef8e-1cf6-4ac1-9385-be50a1504961/resourceGroups/Win-CI/providers/Microsoft.Compute/galleries/base_images/images/win11-23h2-pro-x64/versions/2024.04.11" | ||
labels: | ||
- cirun-win11pro-23h2-x64-16-2024-04-11 | ||
extra_config: | ||
runner_path: "D:\\r" | ||
runner_user: runner | ||
run_as: interactive | ||
- name: win11pro-23h2-x64-64 | ||
cloud: azure | ||
instance_type: Standard_F64s_v2 | ||
machine_image: "/subscriptions/fe7bef8e-1cf6-4ac1-9385-be50a1504961/resourceGroups/Win-CI/providers/Microsoft.Compute/galleries/base_images/images/win11-23h2-pro-x64/versions/2024.04.11" | ||
labels: | ||
- cirun-win11pro-23h2-x64-64-2024-04-11 | ||
extra_config: | ||
runner_path: "D:\\r" | ||
runner_user: runner | ||
run_as: interactive |
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
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 |
---|---|---|
|
@@ -54,6 +54,7 @@ on: | |
required: true | ||
PASSPHRASE: | ||
required: true | ||
pull_request: | ||
|
||
env: | ||
SCCACHE_DIRECT: yes | ||
|
@@ -197,8 +198,13 @@ jobs: | |
fi | ||
fi | ||
echo windows_build_runner=${{ vars.WINDOWS_BUILD_RUNNER || 'windows-latest' }} >> ${GITHUB_OUTPUT} | ||
echo compilers_build_runner=${{ vars.COMPILERS_BUILD_RUNNER || vars.WINDOWS_BUILD_RUNNER || 'windows-latest' }} >> ${GITHUB_OUTPUT} | ||
if [[ "${{vars.USE_WINDOWS_GHA_RUNNER}}" == "false" ]]; then | ||
echo windows_build_runner=cirun-win11pro-23h2-x64-64-2024-04-11--${{github.run_id}} >> ${GITHUB_OUTPUT} | ||
echo compilers_build_runner=cirun-win11pro-23h2-x64-16-2024-04-11--${{github.run_id}} >> ${GITHUB_OUTPUT} | ||
else | ||
echo windows_build_runner=${{ vars.WINDOWS_BUILD_RUNNER || 'windows-latest' }} >> ${GITHUB_OUTPUT} | ||
echo compilers_build_runner=${{ vars.COMPILERS_BUILD_RUNNER || vars.WINDOWS_BUILD_RUNNER || 'windows-latest' }} >> ${GITHUB_OUTPUT} | ||
fi | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -236,6 +242,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: ${{ matrix.arch }} | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -297,6 +307,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: amd64 | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -383,6 +397,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: ${{ matrix.arch }} | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -442,6 +460,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: ${{ matrix.arch }} | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -501,6 +523,10 @@ jobs: | |
|
||
- uses: compnerd/gha-setup-vsdevenv@main | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -671,6 +697,10 @@ jobs: | |
release-asset-name: installer-amd64.exe | ||
release-tag-name: '20231016.0' | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -845,6 +875,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: ${{ matrix.arch }} | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -907,6 +941,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: ${{ matrix.arch }} | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|
@@ -1041,6 +1079,10 @@ jobs: | |
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64' | ||
arch: ${{ matrix.arch }} | ||
|
||
- name: Fix things (maruel temporary) | ||
run: | | ||
echo c:\\users\\runner\\.cargo\\bin >> $GITHUB_PATH | ||
- name: Setup sccache | ||
uses: compnerd/[email protected] | ||
with: | ||
|