Skip to content

Commit eec5a9c

Browse files
authored
fix: go back to pixi build (#150)
* fix: go back to pixi build * Update all versions
1 parent c350ccb commit eec5a9c

File tree

15 files changed

+25
-174
lines changed

15 files changed

+25
-174
lines changed

.github/workflows/rattler-build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- "pixi-build-rust-v[0-9]+.[0-9]+.[0-9]+"
99
# Build all backends on main branch
1010
branches: [main]
11+
workflow_dispatch:
12+
1113

1214
name: "Build and publish pixi builds backends as conda packages"
1315

@@ -61,31 +63,30 @@ jobs:
6163
run: |
6264
git config --global core.longpaths true
6365
shell: bash
64-
- name: Set environment variable for recipe version
65-
shell: bash
66-
run: |
67-
echo "${{ matrix.bins.env_name }}=${{ matrix.bins.version }}" >> $GITHUB_ENV
6866
- name: Build ${{ matrix.bins.bin }}
6967
shell: bash
7068
env:
7169
TARGET_PLATFORM: ${{ matrix.bins.target }}
7270
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: "true"
7371
RATTLER_BUILD_COLOR: "always"
72+
# set the secret for the sccache depot
73+
SCCACHE_WEBDAV_ENDPOINT: ${{ secrets.SCCACHE_WEBDAV_ENDPOINT }}
74+
SCCACHE_WEBDAV_TOKEN: ${{ secrets.SCCACHE_WEBDAV_TOKEN }}
7475
run: |
75-
pixi run build-recipe --recipe recipe/${{ matrix.bins.bin }}.yaml --target-platform=${{ env.TARGET_PLATFORM }}
76+
pixi run build-package --manifest-path crates/${{ matrix.bins.crate_name }} --target-platform=${{ env.TARGET_PLATFORM }}
7677
- name: Upload OSX or Linux packages
7778
shell: bash
7879
if: ${{ startsWith(github.ref, 'refs/tags') && matrix.bins.os != 'windows-latest' && github.repository == env.REPO_NAME }}
7980
run: |
80-
for file in "$RUNNER_TEMP"/**/*.conda; do
81+
for file in "$RUNNER_TEMP"/*.conda; do
8182
echo "Uploading ${file}"
8283
pixi run -e build rattler-build upload prefix -c pixi-build-backends "$file"
8384
done
8485
- name: Upload Windows packages
8586
shell: pwsh
8687
if: ${{ startsWith(github.ref, 'refs/tags') && matrix.bins.os == 'windows-latest' && github.repository == env.REPO_NAME }}
8788
run: |
88-
Get-ChildItem -Path $env:RUNNER_TEMP -Filter *.conda -Recurse | ForEach-Object {
89+
Get-ChildItem -Path $env:RUNNER_TEMP -Filter *.conda | ForEach-Object {
8990
Write-Host "Uploading $($_.FullName)"
9091
pixi run -e build rattler-build upload prefix -c pixi-build-backends "$($_.FullName)"
9192
}

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/pixi-build-cmake/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pixi-build-cmake"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition.workspace = true
55

66
[dependencies]

crates/pixi-build-cmake/pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ preview = ["pixi-build"]
1010
authors = ["Nichita Morcotilo <nichita@prefix.dev>"]
1111
description = "Showcases how to build a cpp project with pixi"
1212
name = "pixi-build-cmake"
13-
version = "0.1.7"
13+
version = "0.1.8"
1414

1515

1616
[dependencies]
1717
pixi-build-cmake = { path = "." }
1818

1919
[package.build]
20-
backend = { name = "pixi-build-rust", version = "==0.1.5" }
20+
backend = { name = "pixi-build-rust", version = "==0.1.10" }
2121
channels = ["https://prefix.dev/pixi-build-backends", "conda-forge"]
2222

2323
[package.target.unix.host-dependencies]

crates/pixi-build-python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pixi-build-python"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition.workspace = true
55

66
[dependencies]

crates/pixi-build-python/pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ preview = ["pixi-build"]
1010
authors = ["Nichita Morcotilo <nichita@prefix.dev>"]
1111
description = "Showcases how to build a python project with pixi"
1212
name = "pixi-build-python"
13-
version = "0.1.7"
13+
version = "0.1.8"
1414

1515

1616
[dependencies]
1717
pixi-build-python = { path = "." }
1818

1919
[package.build]
20-
backend = { name = "pixi-build-rust", version = "==0.1.5" }
20+
backend = { name = "pixi-build-rust", version = "==0.1.10" }
2121
channels = ["https://prefix.dev/pixi-build-backends", "conda-forge"]
2222

2323
[package.target.unix.host-dependencies]

crates/pixi-build-rattler-build/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pixi-build-rattler-build"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition.workspace = true
55

66
[dependencies]

crates/pixi-build-rattler-build/pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ preview = ["pixi-build"]
1010
authors = ["Nichita Morcotilo <nichita@prefix.dev>"]
1111
description = "Showcases how to build a rattler-build recipe with pixi"
1212
name = "pixi-build-rattler-build"
13-
version = "0.1.6"
13+
version = "0.1.7"
1414

1515

1616
[dependencies]
1717
pixi-build-rattler-build = { path = "." }
1818

1919
[package.build]
20-
backend = { name = "pixi-build-rust", version = "==0.1.5" }
20+
backend = { name = "pixi-build-rust", version = "==0.1.10" }
2121
channels = ["https://prefix.dev/pixi-build-backends", "conda-forge"]
2222

2323
[package.target.unix.host-dependencies]

crates/pixi-build-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pixi-build-rust"
3-
version = "0.1.10"
3+
version = "0.1.11"
44
edition.workspace = true
55

66
[dependencies]

crates/pixi-build-rust/pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ preview = ["pixi-build"]
1010
authors = ["Nichita Morcotilo <nichita@prefix.dev>"]
1111
description = "Showcases how to build a rust project with pixi"
1212
name = "pixi-build-rust"
13-
version = "0.1.10"
13+
version = "0.1.11"
1414

1515

1616
[dependencies]
1717
pixi-build-rust = { path = "." }
1818

1919
[package.build]
20-
backend = { name = "pixi-build-rust", version = "==0.1.5" }
20+
backend = { name = "pixi-build-rust", version = "==0.1.10" }
2121
channels = ["https://prefix.dev/pixi-build-backends", "conda-forge"]
2222

2323
[package.target.unix.host-dependencies]

0 commit comments

Comments
 (0)