Skip to content

Commit

Permalink
Test using bmw10 windows runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Nov 20, 2024
1 parent 9b0fc7c commit 9f28e35
Showing 1 changed file with 35 additions and 21 deletions.
56 changes: 35 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a basic workflow

# cspell: ignore winget
name: ci

# Controls when the action will run. Triggers the workflow on push or pull request
Expand All @@ -11,6 +11,8 @@ on:
- "v*.*"
pull_request:
branches: ["main", "devel/*"]
pull_request_target:
branches: ["main", "devel/*"]
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
Expand Down Expand Up @@ -67,37 +69,49 @@ jobs:
name:
- docs
include:
- name: lint
task-name: lint
os: ubuntu-22.04
env:
SKIP_PODMAN: 1
SKIP_DOCKER: 1

- name: test (linux)
task-name: test

- name: test (macos)
task-name: test
os: macos-13-large
env:
SKIP_PODMAN: 1
SKIP_DOCKER: 1
# only until we fix some broken tests, as we need it to pass
# in order to enable the caching
continue-on-error: true
# - name: lint
# task-name: lint
# os: ubuntu-22.04
# env:
# SKIP_PODMAN: 1
# SKIP_DOCKER: 1

# - name: test (linux)
# task-name: test

# - name: test (macos)
# task-name: test
# os: macos-13-large
# env:
# SKIP_PODMAN: 1
# SKIP_DOCKER: 1
# # only until we fix some broken tests, as we need it to pass
# # in order to enable the caching
# continue-on-error: true

- name: test (wsl)
# runner does not support running containers
task-name: als:test-without-ee
log-name: als-test-without-ee
# https://github.com/actions/virtual-environments/issues/5151
os: devtools-win-x64
os: [self-hosted, bmw10]
shell: "wsl-bash {0}"
env:
SKIP_PODMAN: 1
SKIP_DOCKER: 1
steps:
# Custom Windows runners might not even have git installed
- name: Windows prepare
if: runner.os == 'Windows'
run: |
$gitVersion = git --version 2>$null
if (-not $?) {
winget install --id Git.Git -e --silent >$null 2>&1
$gitVersion = git --version 2>$null
if (-not $?) { Exit 1 }
}
shell: pwsh

- uses: actions/checkout@v4
with:
fetch-depth: 0 # we need tags for dynamic versioning
Expand Down

0 comments on commit 9f28e35

Please sign in to comment.