Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
os:
[
ubuntu-latest,
ubuntu-24.04-arm,
macos-latest,
windows-latest,
windows-11-arm,
]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
21 changes: 20 additions & 1 deletion scripts/generate_ephemeral_channel_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,16 @@ def filename(self) -> str:
payload_path="Scripts/fixture-probe.cmd",
payload=WINDOWS_PROBE,
),
PackageSpec(
"",
"win-arm64",
"fixture-probe",
"1.0.0",
arch="aarch64",
platform="win",
payload_path="Scripts/fixture-probe.cmd",
payload=WINDOWS_PROBE,
),
PackageSpec("priority-a", "noarch", "fixture-priority", "1.0.0", noarch=True),
PackageSpec("priority-b", "noarch", "fixture-priority", "2.0.0", noarch=True),
)
Expand Down Expand Up @@ -198,7 +208,16 @@ def write_repodata(channel_dir: Path, subdir: str, records: dict[str, dict[str,


def clean_generated_files() -> None:
for directory in ("noarch", "linux-64", "linux-aarch64", "osx-arm64", "win-64", "priority-a", "priority-b"):
for directory in (
"noarch",
"linux-64",
"linux-aarch64",
"osx-arm64",
"win-64",
"win-arm64",
"priority-a",
"priority-b",
):
path = FIXTURE_ROOT / directory
if path.exists():
shutil.rmtree(path)
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/ephemeral_channel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ non-noarch artifact for every supported target:
| `linux-aarch64` | `bin/fixture-probe`, executable `#!/bin/sh` script |
| `osx-arm64` | `bin/fixture-probe`, executable `#!/bin/sh` script |
| `win-64` | `Scripts/fixture-probe.cmd`, `@exit /b 0` batch file |
| `win-arm64` | `Scripts/fixture-probe.cmd`, `@exit /b 0` batch file |

The Unix scripts have archive mode `0755`. This package exists only for the
T017 activation/PATH usability assertion.
Binary file not shown.
22 changes: 22 additions & 0 deletions tests/fixtures/ephemeral_channel/win-arm64/repodata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"info": {
"subdir": "win-arm64"
},
"packages": {
"fixture-probe-1.0.0-0.tar.bz2": {
"arch": "aarch64",
"build": "0",
"build_number": 0,
"depends": [],
"license": "BSD-3-Clause",
"md5": "78fdac4f1634bc7e4bab3d155d5db410",
"name": "fixture-probe",
"platform": "win",
"sha256": "69c97c8fdf658336cde61ef881031b7dfed67d984c0861f0d09b10e83597c808",
"size": 509,
"subdir": "win-arm64",
"timestamp": 1704067200000,
"version": "1.0.0"
}
}
}
Loading